summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <de@gsmk.de>2014-04-15 15:35:33 +0200
committererdgeist <de@gsmk.de>2014-04-15 15:35:33 +0200
commit71fb4ac25542721f3a2d42ac4eef0d7296968f82 (patch)
tree281f51abf15df04a9faebca5629bc3cbc4413cfe
parent66a81e9382c8503a48db8f82aeb59b6c612c4964 (diff)
Specify client method
-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)) )