summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2022-12-16 18:02:28 +0000
committertb <>2022-12-16 18:02:28 +0000
commitcd13c74f1006cfe752042b24c510330b368487fe (patch)
treebe7accd18799416ed9e1926d2191a1151d7cad78 /src/lib/libc
parentdd85159117310f95b434b12d239e64779877d2cd (diff)
downloadopenbsd-cd13c74f1006cfe752042b24c510330b368487fe.tar.gz
openbsd-cd13c74f1006cfe752042b24c510330b368487fe.tar.bz2
openbsd-cd13c74f1006cfe752042b24c510330b368487fe.zip
Document extension caching of X509_check_purpose()
The overwhelming majority of callers of X509_check_purpose() in our tree pass a purpose of -1. In this case X509_check_purpose() acts as a wrapper of x509v3_cache_extensions() which makes sanity checks like non-negativity of ASN.1 integers or canonicity of RFC 3779 extensions as well as checking uniqueness of extensions. from schwarze who beat an initial diff of mine into shape
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions