wc_ClearErrorNodes is a local API that is not exported for linking

This commit is contained in:
Juliusz Sosinowicz
2021-10-21 13:47:55 +02:00
parent 642d0e0fba
commit 4268763adb

View File

@ -33382,8 +33382,10 @@ static void test_wolfSSL_X509_STORE_load_locations(void)
AssertIntEQ(X509_STORE_load_locations(store, client_pem_file, NULL), WOLFSSL_SUCCESS);
AssertIntEQ(X509_STORE_load_locations(store, NULL, certs_path), WOLFSSL_SUCCESS);
#if defined(OPENSSL_EXTRA) || defined(DEBUG_WOLFSSL_VERBOSE)
/* Clear nodes */
wc_ClearErrorNodes();
ERR_clear_error();
#endif
SSL_CTX_free(ctx);
printf(resultFmt, passed);