diff options
author | Matt Caswell <matt@openssl.org> | 2018-04-18 14:20:29 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-04-19 09:01:14 +0100 |
commit | 5e80a5da0320b90c6af29195e168ec6e22de2caf (patch) | |
tree | 0805b61663abeced1bf36c6d329db57512b0203d /apps | |
parent | c6c7bb010770cbf7d818d0ef8f5628decaa7e037 (diff) |
Don't crash if there are no trusted certs
The X509_STORE_CTX_init() docs explicitly allow a NULL parameter for the
X509_STORE. Therefore we shouldn't crash if we subsequently call
X509_verify_cert() and no X509_STORE has been set.
Fixes #2462
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6003)
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions