summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authormiod <>2014-09-29 04:20:14 +0000
committermiod <>2014-09-29 04:20:14 +0000
commitc23a67af7f4a09d29116172b102fabc1c99365fe (patch)
tree5fb99e3b0b09d91f696101bda08f0b5e0e008356 /src/usr.bin
parentb9058e3a0925c64cba4c450d054e5f8818edfb17 (diff)
downloadopenbsd-c23a67af7f4a09d29116172b102fabc1c99365fe.tar.gz
openbsd-c23a67af7f4a09d29116172b102fabc1c99365fe.tar.bz2
openbsd-c23a67af7f4a09d29116172b102fabc1c99365fe.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/usr.bin')
0 files changed, 0 insertions, 0 deletions