105-nossl3.patch 485 B

12345678910111213
  1. Index: v4.25-9656/src/Mayaqua/Network.c
  2. ===================================================================
  3. --- v4.25-9656.orig/src/Mayaqua/Network.c
  4. +++ v4.25-9656/src/Mayaqua/Network.c
  5. @@ -13025,7 +13025,7 @@ bool StartSSLEx(SOCK *sock, X *x, K *pri
  6. {
  7. if (client_tls == false)
  8. {
  9. -#if OPENSSL_VERSION_NUMBER < 0x10100000L
  10. +#ifndef SSL_OP_NO_SSLv3
  11. SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
  12. #else
  13. SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method());