diff options
author | claudio <> | 2021-10-06 08:29:41 +0000 |
---|---|---|
committer | claudio <> | 2021-10-06 08:29:41 +0000 |
commit | 2d090f15011c9243edd7e36c5047318af3813a4a (patch) | |
tree | 06ce7617c371f70b4aaefa603932ce5308161f64 /src/lib/libc/net/base64.c | |
parent | 9ab56e0915b87487fccad821e2b50897e82c01f3 (diff) | |
download | openbsd-2d090f15011c9243edd7e36c5047318af3813a4a.tar.gz openbsd-2d090f15011c9243edd7e36c5047318af3813a4a.tar.bz2 openbsd-2d090f15011c9243edd7e36c5047318af3813a4a.zip |
X509_STORE_CTX_init() allows the store to be NULL on init. Add checks
for a NULL ctx->ctx in the lookup functions using X509_STORE_CTX.
This affects X509_STORE_get1_certs(), X509_STORE_get1_crls(),
X509_STORE_CTX_get1_issuer() and X509_STORE_get_by_subject().
With this X509_verify_cert() no longer crashes with a NULL store.
With and OK tb@
Diffstat (limited to 'src/lib/libc/net/base64.c')
0 files changed, 0 insertions, 0 deletions