We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5667e6 commit 9717d5cCopy full SHA for 9717d5c
php_phongo.c
@@ -1327,6 +1327,13 @@ static mongoc_ssl_opt_t *php_phongo_make_ssl_opt(zval *zoptions TSRMLS_DC)
1327
}
1328
#endif
1329
1330
+#if defined(MONGOC_ENABLE_SSL_LIBRESSL) || defined(MONGOC_ENABLE_SSL_SECURE_TRANSPORT)
1331
+ if (php_array_existsc(zoptions, "crl_file")) {
1332
+ phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "\"crl_file\" option is not supported by LibreSSL and Secure Transport");
1333
+ return NULL;
1334
+ }
1335
+#endif
1336
+
1337
ssl_opt = ecalloc(1, sizeof(mongoc_ssl_opt_t));
1338
1339
/* Check canonical option names first and fall back to SSL context options
0 commit comments