diff options
Diffstat (limited to 'crypto/openssl/crypto/x509/x509_vpm.c')
-rw-r--r-- | crypto/openssl/crypto/x509/x509_vpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/x509/x509_vpm.c b/crypto/openssl/crypto/x509/x509_vpm.c index d054366..6b0bf8a 100644 --- a/crypto/openssl/crypto/x509/x509_vpm.c +++ b/crypto/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); } |