summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/stack
diff options
context:
space:
mode:
authorbeck <>2026-08-26 16:25:12 +0000
committerbeck <>2026-08-26 16:25:12 +0000
commit85f442b9807a72de444e8a0c8670310031ffd5e8 (patch)
treeaa08bb263c3b4fbd5eed9304c708e6d367f72dd9 /src/lib/libcrypto/stack
parentfdfc50d36c7ad9d362a0a6c0043189e17aa2c87d (diff)
downloadopenbsd-85f442b9807a72de444e8a0c8670310031ffd5e8.tar.gz
openbsd-85f442b9807a72de444e8a0c8670310031ffd5e8.tar.bz2
openbsd-85f442b9807a72de444e8a0c8670310031ffd5e8.zip
Don't drop X509_V_ERR_HOSTNAME_MISMATCH when verify callback returns 1
While not the advised way of using the verify callback (either by OpenSSL or by us) in production, sometimes folks like to return 1 from everything in the callback and then check the error return and make decicions about things. This fix ensures that such callbacks will see the hostname mismatch and be able to act upon them. Reported by Alexander Aleksandrovic Klimov ok tb@
Diffstat (limited to 'src/lib/libcrypto/stack')
0 files changed, 0 insertions, 0 deletions