CORE: Add OPENSSL_CTX_set0_default(), to set a default library context
authorRichard Levitte <levitte@openssl.org>
Mon, 22 Jun 2020 11:12:53 +0000 (13:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 28 Jun 2020 08:55:51 +0000 (10:55 +0200)
commit5a9752756b68632320c5aed7b6eb38e63a8ebf31
treee2ba1d77b15be16055adc4ce340a71a900f5992f
parent270540fd5413b00a746a581e8939c30862c689b1
CORE: Add OPENSSL_CTX_set0_default(), to set a default library context

Applications may want to set their own default library context,
possibly per-thread.  OPENSSL_CTX_set0_default() does that.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12228)
crypto/context.c
doc/man3/OPENSSL_CTX.pod
include/openssl/crypto.h
util/libcrypto.num