summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authormiod <>2014-09-29 04:20:14 +0000
committermiod <>2014-09-29 04:20:14 +0000
commit7a9b43ea80efe772f3376acf2a11048cbf5dcf00 (patch)
tree5fb99e3b0b09d91f696101bda08f0b5e0e008356 /src/lib/libssl/ssl_lib.c
parent53395337c4644a571c35aad3a705862a559bd5fa (diff)
downloadopenbsd-7a9b43ea80efe772f3376acf2a11048cbf5dcf00.tar.gz
openbsd-7a9b43ea80efe772f3376acf2a11048cbf5dcf00.tar.bz2
openbsd-7a9b43ea80efe772f3376acf2a11048cbf5dcf00.zip
check_cert(): be sure to reset ctx->current_crl to NULL before freeing it.
X509_STORE_CTX_init(): do not free the X509_STORE_CTX * parameter upon failure, for we did not allocate it and it might not come from the heap, such as in check_crl_path() in this very same file where X509_STORE_CTX_init() gets invoked with a stack address. ok bcook@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions