We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f23e2a6 + e748e1b commit 6bf716bCopy full SHA for 6bf716b
1 file changed
tests/api.c
@@ -1434,6 +1434,11 @@ static int test_wolfSSL_CTX_load_verify_locations(void)
1434
ExpectIntEQ(wolfSSL_CTX_load_verify_locations(ctx, NULL, bogusFile),
1435
WS_RETURN_CODE(BAD_PATH_ERROR,WOLFSSL_FAILURE));
1436
#endif
1437
+#if defined(WOLFSSL_QT) || defined(WOLFSSL_IGNORE_BAD_CERT_PATH)
1438
+ /* test ignoring the invalid path */
1439
+ ExpectIntEQ(wolfSSL_CTX_load_verify_locations_ex(ctx, NULL, bogusFile,
1440
+ WOLFSSL_LOAD_FLAG_IGNORE_BAD_PATH_ERR), WOLFSSL_SUCCESS);
1441
+#endif
1442
1443
/* load ca cert */
1444
#ifdef NO_RSA
0 commit comments