summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciphers.c
diff options
context:
space:
mode:
authorjsing <>2021-02-25 16:57:10 +0000
committerjsing <>2021-02-25 16:57:10 +0000
commitb340dc80fd4d5a7b163cff6ef9cbb57eb40e3b72 (patch)
tree0b004f76d247999407645e8028b6bd602d269222 /src/lib/libssl/ssl_ciphers.c
parent827c99d1b55bae4268d905d4c4817f7add395c94 (diff)
downloadopenbsd-b340dc80fd4d5a7b163cff6ef9cbb57eb40e3b72.tar.gz
openbsd-b340dc80fd4d5a7b163cff6ef9cbb57eb40e3b72.tar.bz2
openbsd-b340dc80fd4d5a7b163cff6ef9cbb57eb40e3b72.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_ciphers.c')
0 files changed, 0 insertions, 0 deletions