[packages/cvsnt] - prefer TLS_client_method
adamg
adamg at pld-linux.org
Thu Oct 25 16:18:59 CEST 2018
commit 1b64ef5503e35821f5dcee7d720ea976d39f4777
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Thu Oct 25 16:18:53 2018 +0200
- prefer TLS_client_method
openssl.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openssl.patch b/openssl.patch
index 9b0a7c8..a44ed04 100644
--- a/openssl.patch
+++ b/openssl.patch
@@ -5,7 +5,7 @@
SSL_library_init();
SSL_load_error_strings ();
- ctx = SSL_CTX_new (SSLv3_client_method ());
-+ ctx = SSL_CTX_new (SSLv23_client_method ());
++ ctx = SSL_CTX_new (TLS_client_method ());
SSL_CTX_set_options(ctx,SSL_OP_ALL|SSL_OP_NO_SSLv2);
SSL_CTX_load_verify_locations(ctx,certs,NULL);
if(key)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cvsnt.git/commitdiff/1b64ef5503e35821f5dcee7d720ea976d39f4777
More information about the pld-cvs-commit
mailing list