patch-WWW_Library_Implementation_HTTP_c 559 B

1234567891011
  1. --- lynx2-8-8.orig/WWW/Library/Implementation/HTTP.c 2014-01-11 20:06:15.000000000 +0100
  2. +++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2017-06-05 13:30:53.165071650 +0200
  3. @@ -720,7 +720,7 @@ static int HTLoadHTTP(const char *arg,
  4. #elif SSLEAY_VERSION_NUMBER >= 0x0900
  5. #ifndef USE_NSS_COMPAT_INCL
  6. if (!try_tls) {
  7. - handle->options |= SSL_OP_NO_TLSv1;
  8. + SSL_set_options(handle, SSL_OP_NO_TLSv1);
  9. #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
  10. } else {
  11. int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);