summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl2.h
diff options
context:
space:
mode:
authorbeck <>2024-07-12 15:53:51 +0000
committerbeck <>2024-07-12 15:53:51 +0000
commita41114b964f05026c5489e35fb584a9f78de8fce (patch)
tree8e28d8b6ee9d3035c3ea457cfb0551d4e86664cf /src/lib/libssl/ssl2.h
parent04197626fe7bce4864e671b5ecbdc647336eaa8b (diff)
downloadopenbsd-a41114b964f05026c5489e35fb584a9f78de8fce.tar.gz
openbsd-a41114b964f05026c5489e35fb584a9f78de8fce.tar.bz2
openbsd-a41114b964f05026c5489e35fb584a9f78de8fce.zip
Clean up in X509_check_trust.
The XXX comment in here is now outdated. Our behaviour matches boringssl in that passing in a 0 trust gets the default behavior, which is to trust the certificate only if it has EKU any, or is self signed. Remove the goofy unused nid argument to "trust_compat" and rename it to what it really does, instead of some bizzare abstraction to something simple so the code need not change if we ever change our mind on what "compat" is for X.509, which will probably only happen when we are back to identifying things by something more sensible like recognizable grunts and smells. ok jsing@
Diffstat (limited to 'src/lib/libssl/ssl2.h')
0 files changed, 0 insertions, 0 deletions