]> git.pld-linux.org Git - packages/cvsnt.git/blame - openssl.patch
- prefer TLS_client_method
[packages/cvsnt.git] / openssl.patch
CommitLineData
67a356d9
AM
1--- cvsnt-2.5.05.3744/protocols/sserver.cpp~ 2009-11-24 15:52:23.000000000 +0100
2+++ cvsnt-2.5.05.3744/protocols/sserver.cpp 2018-09-20 10:34:35.129443525 +0200
3@@ -260,7 +260,7 @@ int sserver_connect(const struct protoco
4
5 SSL_library_init();
6 SSL_load_error_strings ();
7- ctx = SSL_CTX_new (SSLv3_client_method ());
1b64ef55 8+ ctx = SSL_CTX_new (TLS_client_method ());
67a356d9
AM
9 SSL_CTX_set_options(ctx,SSL_OP_ALL|SSL_OP_NO_SSLv2);
10 SSL_CTX_load_verify_locations(ctx,certs,NULL);
11 if(key)
This page took 0.089778 seconds and 4 git commands to generate.