void-packages/srcpkgs/alpine-passfile/patches/libressl.patch

14 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();