void-packages/srcpkgs/alpine/patches/libressl.patch
2019-06-23 17:17:44 +02:00

13 lines
441 B
Diff

--- imap/src/osdep/unix/ssl_unix.c.orig
+++ imap/src/osdep/unix/ssl_unix.c
@@ -249,9 +249,7 @@
return NIL; /* out of range? bail out */
#ifndef OPENSSL_1_1_0
- if(client_request == SSL3_VERSION)
- return SSLv3_client_method();
- else if(client_request == TLS1_VERSION)
+ if(client_request == TLS1_VERSION)
return TLSv1_client_method();
else if(client_request == TLS1_1_VERSION)
return TLSv1_1_client_method();