Fix regression introduced by previous commit
I really shouldn't copy and paste code.
This commit is contained in:
parent
a4c8c82703
commit
c86f11da1c
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ rb_init_ssl(void)
|
||||||
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||||
ssl_client_ctx = SSL_CTX_new(TLSv1_client_method());
|
ssl_client_ctx = SSL_CTX_new(TLSv1_client_method());
|
||||||
#else
|
#else
|
||||||
ssl_server_ctx = SSL_CTX_new(TLS_client_method());
|
ssl_client_ctx = SSL_CTX_new(TLS_client_method());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(ssl_client_ctx == NULL)
|
if(ssl_client_ctx == NULL)
|
||||||
|
|
Loading…
Reference in a new issue