lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] SSLv23 method gone now


From: Gisle Vanem
Subject: Re: [Lynx-dev] SSLv23 method gone now
Date: Tue, 19 May 2015 18:10:59 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1

Thorsten Glaser wrote:

--- HTTP.c      13 Mar 2014 04:46:43 -0000      1.26
+++ HTTP.c      4 Jan 2015 22:24:27 -0000       1.27
@@ -124,7 +124,11 @@ SSL *HTGetSSLHandle(void)
        ssl_opts &= ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS;
  #endif
        SSLeay_add_ssl_algorithms();
+#if defined(OPENSSL_NO_SSL2) && defined(OPENSSL_NO_SSL3)
+       ssl_ctx = SSL_CTX_new(TLSv1_client_method());
+#else
        ssl_ctx = SSL_CTX_new(SSLv23_client_method());
+#endif

Apart from the line-numbers, that seems to work fine.

I'm not sure where 'OPENSSL_NO_SSL2' + 'OPENSSL_NO_SSL3'
should come from. I assumed <openssl/include/opensslconf.h>,
but no. I just put them in my Lynx' Makefile and all seems well.
Thanks.

--
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]