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