mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
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)
|
||||
ssl_client_ctx = SSL_CTX_new(TLSv1_client_method());
|
||||
#else
|
||||
ssl_server_ctx = SSL_CTX_new(TLS_client_method());
|
||||
ssl_client_ctx = SSL_CTX_new(TLS_client_method());
|
||||
#endif
|
||||
|
||||
if(ssl_client_ctx == NULL)
|
||||
|
|
Loading…
Reference in a new issue