summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_methods.c
diff options
context:
space:
mode:
authorjsing <>2021-02-25 16:57:10 +0000
committerjsing <>2021-02-25 16:57:10 +0000
commit4809c4fa82f7c39c5645f15fb695f8fb77daf8b2 (patch)
tree0b004f76d247999407645e8028b6bd602d269222 /src/lib/libssl/ssl_methods.c
parent052d36f8658e248c066384b08c925f65e7074586 (diff)
downloadopenbsd-4809c4fa82f7c39c5645f15fb695f8fb77daf8b2.tar.gz
openbsd-4809c4fa82f7c39c5645f15fb695f8fb77daf8b2.tar.bz2
openbsd-4809c4fa82f7c39c5645f15fb695f8fb77daf8b2.zip
Avoid passing last and depth to x509_verify_cert_error() on ENOMEM.
In x509_verify_ctx_set_xsc_chain(), an ENOMEM case is currently passing the last certificate and depth (which is no longer actually depth) to x509_verify_cert_error(). Given we've hit an ENOMEM situation, neither of these are useful so remove both. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions