From 71fb4ac25542721f3a2d42ac4eef0d7296968f82 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 15 Apr 2014 15:35:33 +0200 Subject: Specify client method --- vchat-ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vchat-ssl.c') 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 ) X509_STORE *store = NULL; vc_x509verify_cb_t verify_callback = NULL; - if( !(ctx = SSL_CTX_new(SSLv23_method())) ) + if( !(ctx = SSL_CTX_new(SSLv23_client_method())) ) VC_CTX_ERR_EXIT(store, ctx); if( !(store = vc_x509store_create(vc_store)) ) -- cgit v1.2.3