Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 609006
Collapse All | Expand All

(-)src/network/ssl/socket.c.orig (-1 / +1 lines)
Lines 67-73 static void Link Here
67
ssl_set_no_tls(struct socket *socket)
67
ssl_set_no_tls(struct socket *socket)
68
{
68
{
69
#ifdef CONFIG_OPENSSL
69
#ifdef CONFIG_OPENSSL
70
	((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
70
	SSL_set_options((ssl_t *) socket->ssl, SSL_OP_NO_TLSv1);
71
#elif defined(CONFIG_GNUTLS)
71
#elif defined(CONFIG_GNUTLS)
72
	{
72
	{
73
		/* GnuTLS does not support SSLv2 because it is "insecure".
73
		/* GnuTLS does not support SSLv2 because it is "insecure".

Return to bug 609006