diff options
author | 2021-02-25 16:57:10 +0000 | |
---|---|---|
committer | 2021-02-25 16:57:10 +0000 | |
commit | d963395a74aa582487bb878f0de671997d3b9a09 (patch) | |
tree | ce0cc58235e5285a17d56fa555934a4d5104d262 /lib/libssl/ssl_packet.c | |
parent | - Make use of the fact that we know how the chunks are aligned, and (diff) | |
download | wireguard-openbsd-d963395a74aa582487bb878f0de671997d3b9a09.tar.xz wireguard-openbsd-d963395a74aa582487bb878f0de671997d3b9a09.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 'lib/libssl/ssl_packet.c')
0 files changed, 0 insertions, 0 deletions