diff options
author | claudio <> | 2021-10-06 08:29:41 +0000 |
---|---|---|
committer | claudio <> | 2021-10-06 08:29:41 +0000 |
commit | a8faad6e2c4498531fbaa6ef64e76e4d0b59294e (patch) | |
tree | 06ce7617c371f70b4aaefa603932ce5308161f64 /src/lib/libc/net/base64.c | |
parent | 4e9e6487a31eecb09700af2dcc002f27495d0a17 (diff) | |
download | openbsd-a8faad6e2c4498531fbaa6ef64e76e4d0b59294e.tar.gz openbsd-a8faad6e2c4498531fbaa6ef64e76e4d0b59294e.tar.bz2 openbsd-a8faad6e2c4498531fbaa6ef64e76e4d0b59294e.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