]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/x509/v3_purp.c
Add the X509v3_cache_extensions() function
authorMatt Caswell <matt@openssl.org>
Fri, 20 Mar 2020 11:52:07 +0000 (11:52 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Mar 2020 13:54:37 +0000 (14:54 +0100)
commit33328581b83e8e9f573f08f0e2e0d6b32d095857
tree10f6643a2431c5ca74476197e274b71583bbc13f
parentc2146b57d296aa5b06e27cd8d76bbd040a3444b9
Add the X509v3_cache_extensions() function

Various functions cause the results of processing extensions to be
cached. The processing itself requires a libctx, and so this implicit
caching means that the default ctx is used which can lead to failures.
By explicitly caching the extensions we can specify the libctx to be used.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11409)
crypto/x509/v3_purp.c
doc/man3/X509_check_ca.pod
include/openssl/x509v3.h
util/libcrypto.num