0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-22 02:18:39 +02:00

Fix regression introduced by previous commit

I really shouldn't copy and paste code.
This commit is contained in:
Aaron Jones 2015-05-20 10:39:04 +00:00
parent a4c8c82703
commit c86f11da1c

View file

@ -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)