diff --git a/certs/ocsp/renewcerts.sh b/certs/ocsp/renewcerts.sh index 96744b6fd..955fd73ae 100755 --- a/certs/ocsp/renewcerts.sh +++ b/certs/ocsp/renewcerts.sh @@ -90,3 +90,4 @@ openssl ocsp -issuer ./root-ca-cert.pem -cert ./intermediate1-ca-cert.pem -url h kill $PID wait $PID +exit 0 diff --git a/tests/api.c b/tests/api.c index 7cab7504b..6c42d871a 100644 --- a/tests/api.c +++ b/tests/api.c @@ -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);