diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2024-07-12 15:53:52 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2024-07-12 15:53:52 +0000 |
commit | ce056f31032b611369b8d84ce6ac7ab25c7fb94c (patch) | |
tree | 7b277e941fb4d4010f3fb03beec47c92f17dafed /usr.bin/stat | |
parent | bfc52ea98a142caec8477cb079ad220962232442 (diff) |
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 'usr.bin/stat')
0 files changed, 0 insertions, 0 deletions