diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-07 20:15:59 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-07 20:15:59 +0100 |
commit | e03ddfae7ea7c27193d3f7c0eaa1d01704647d77 (patch) | |
tree | 7cf2e8444b222a3a52c4735e0415916bb81c4494 /crypto/x509/x509_lu.c | |
parent | Fix DH key generation. (diff) | |
download | openssl-e03ddfae7ea7c27193d3f7c0eaa1d01704647d77.tar.xz openssl-e03ddfae7ea7c27193d3f7c0eaa1d01704647d77.zip |
Accept NULL in *_free.
Diffstat (limited to 'crypto/x509/x509_lu.c')
-rw-r--r-- | crypto/x509/x509_lu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c index deec5adae5..8ea68198fc 100644 --- a/crypto/x509/x509_lu.c +++ b/crypto/x509/x509_lu.c @@ -259,6 +259,9 @@ X509_STORE *vfy; STACK *sk; X509_LOOKUP *lu; + if(vfy == NULL) + return; + sk=vfy->get_cert_methods; for (i=0; i<sk_num(sk); i++) { |