Add internal method x509_set0_libctx().
authorShane Lontis <shane.lontis@oracle.com>
Sat, 25 Jul 2020 08:44:25 +0000 (18:44 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sun, 9 Aug 2020 07:34:52 +0000 (17:34 +1000)
commitdcc679cd99835560d75a84719ab73a70a952f035
tree5eb189afad33c773bc6b86ce13cacbe7708951c2
parentc1669f41eab0e2d9a8c2498718d06b4cd48a9890
Add internal method x509_set0_libctx().

This should only be called during (or right after) using d2iXXX on a object that contains embedded certificate(s)
that require a non default library context. X509_new_with_libctx() should be used if possible.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11884)
crypto/x509/x_x509.c
include/crypto/x509.h