]> git.pld-linux.org Git - packages/cvsnt.git/commitdiff
- prefer TLS_client_method
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 25 Oct 2018 14:18:53 +0000 (16:18 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Thu, 25 Oct 2018 14:18:53 +0000 (16:18 +0200)
openssl.patch

index 9b0a7c8018f3f487eb12fc531f2568093de0ffad..a44ed04ff65ea94ba3daf01a1c96fad6dba8eecd 100644 (file)
@@ -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)
This page took 0.1073 seconds and 4 git commands to generate.