summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvchat-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-ssl.c b/vchat-ssl.c
index 64886ca..7060e29 100755
--- a/vchat-ssl.c
+++ b/vchat-ssl.c
@@ -61,7 +61,7 @@ SSL_CTX * vc_create_sslctx( vc_x509store_t *vc_store )
61 X509_STORE *store = NULL; 61 X509_STORE *store = NULL;
62 vc_x509verify_cb_t verify_callback = NULL; 62 vc_x509verify_cb_t verify_callback = NULL;
63 63
64 if( !(ctx = SSL_CTX_new(SSLv23_method())) ) 64 if( !(ctx = SSL_CTX_new(SSLv23_client_method())) )
65 VC_CTX_ERR_EXIT(store, ctx); 65 VC_CTX_ERR_EXIT(store, ctx);
66 66
67 if( !(store = vc_x509store_create(vc_store)) ) 67 if( !(store = vc_x509store_create(vc_store)) )