Skip to content

Instantly share code, notes, and snippets.

@tumugin
Created November 27, 2016 13:56
Show Gist options
  • Save tumugin/66765795a8bfa02e9bb9da660748a55d to your computer and use it in GitHub Desktop.
Save tumugin/66765795a8bfa02e9bb9da660748a55d to your computer and use it in GitHub Desktop.
--- a/src/Mayaqua/Network.c 2016-03-20 13:37:38.829534634 -0400
+++ b/src/Mayaqua/Network.c 2016-03-20 13:37:28.079218703 -0400
@@ -12981,14 +12981,7 @@
}
else
{
- if (client_tls == false)
- {
- SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
- }
- else
- {
SSL_CTX_set_ssl_version(ssl_ctx, TLSv1_client_method());
- }
}
sock->ssl = SSL_new(ssl_ctx);
SSL_set_fd(sock->ssl, (int)sock->socket);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment