diff options
Diffstat (limited to 'openssl/crypto/x509/x509_vpm.c')
-rw-r--r-- | openssl/crypto/x509/x509_vpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl/crypto/x509/x509_vpm.c b/openssl/crypto/x509/x509_vpm.c index d0543662c..6b0bf8a6e 100644 --- a/openssl/crypto/x509/x509_vpm.c +++ b/openssl/crypto/x509/x509_vpm.c @@ -100,6 +100,8 @@ X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void) void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param) { + if (param == NULL) + return; x509_verify_param_zero(param); OPENSSL_free(param); } |