We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcf4c67 commit 8e3dee4Copy full SHA for 8e3dee4
src/libmongoc/src/mongoc/mongoc-openssl.c
@@ -493,8 +493,8 @@ _mongoc_openssl_ctx_new (mongoc_ssl_opt_t *opt)
493
ssl_ctx_options |= SSL_OP_NO_COMPRESSION;
494
#endif
495
496
-/* man SSL_get_options says: "SSL_OP_NO_RENEGOTIATION options were added in OpenSSL 1.1.1" */
497
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
+/* man SSL_get_options says: "SSL_OP_NO_RENEGOTIATION options were added in OpenSSL 1.1.1". */
+#ifdef SSL_OP_NO_RENEGOTIATION
498
ssl_ctx_options |= SSL_OP_NO_RENEGOTIATION;
499
500
0 commit comments