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
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev