summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crypto/ocsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/ocsp.c b/src/crypto/ocsp.c
index 7dca281f4..58b987d42 100644
--- a/src/crypto/ocsp.c
+++ b/src/crypto/ocsp.c
@@ -217,6 +217,7 @@ int ocsp_check ( struct x509_certificate *cert,
err_request:
ocsp_put ( *ocsp );
err_alloc:
+ *ocsp = NULL;
return rc;
}