Skip to content

Instantly share code, notes, and snippets.

@MaskyS
Created November 12, 2017 05:17
Show Gist options
  • Save MaskyS/6fd751c158fa20f02cc5e9e9d08fc4cc to your computer and use it in GitHub Desktop.
Save MaskyS/6fd751c158fa20f02cc5e9e9d08fc4cc to your computer and use it in GitHub Desktop.
diff --git a/src/ssl.c b/src/ssl.c
index 3fb0f4d..07e6c95 100644
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -283,6 +283,9 @@ SslInitializeCTX(SSL_PROPERTIES *psProperties, char *pcError)
#ifdef SSL_OP_NO_TLSv1_1
| SSL_OP_NO_TLSv1_1
#endif
+#ifdef SSL_OP_NO_TLSv1_2
+ | SSL_OP_NO_TLSv1_2
+#endif
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment