diff options
author | jsing <> | 2021-02-25 16:57:10 +0000 |
---|---|---|
committer | jsing <> | 2021-02-25 16:57:10 +0000 |
commit | 4809c4fa82f7c39c5645f15fb695f8fb77daf8b2 (patch) | |
tree | 0b004f76d247999407645e8028b6bd602d269222 /src/lib/libssl/tls13_server.c | |
parent | 052d36f8658e248c066384b08c925f65e7074586 (diff) | |
download | openbsd-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/tls13_server.c')
0 files changed, 0 insertions, 0 deletions