free structure in test case and return 0 from ocsp renew script

This commit is contained in:
JacobBarthelmeh
2022-06-01 13:18:36 -07:00
parent 5b5f673c51
commit ac3cdb42b7
2 changed files with 2 additions and 0 deletions

View File

@@ -90,3 +90,4 @@ openssl ocsp -issuer ./root-ca-cert.pem -cert ./intermediate1-ca-cert.pem -url h
kill $PID
wait $PID
exit 0

View File

@@ -1437,6 +1437,7 @@ static void test_wolfSSL_CheckOCSPResponse(void)
bs = wolfSSL_OCSP_response_get1_basic(res);
AssertNotNull(bs);
AssertIntEQ(wolfSSL_OCSP_basic_verify(bs, NULL, st, 0), WOLFSSL_SUCCESS);
wolfSSL_OCSP_BASICRESP_free(bs);
wolfSSL_OCSP_RESPONSE_free(res);
wolfSSL_X509_STORE_free(st);
wolfSSL_X509_free(issuer);