Introduce SSL_CTX_new_with_libex()
authorMatt Caswell <matt@openssl.org>
Thu, 16 Jan 2020 12:13:09 +0000 (12:13 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 22 Jan 2020 10:47:12 +0000 (10:47 +0000)
commitba18627e4ac813ef7461241663be6a366ed61c8a
treec42485291ef7909bfe2b113270d14607ab1afc22
parent7b131de2bb2be8582c6dfc50bdd3cbc49e1a08be
Introduce SSL_CTX_new_with_libex()

We add the ability to specify an OPENSSL_CTX (which may be NULL for the
default context) and a property query string for use during algorithm
fetch operations.

For example, in this way one SSL_CTX could be used the default provider,
and another one could be used with the FIPS provider.

At this stage we don't use these values. That will come later.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10866)
include/openssl/ssl.h
ssl/ssl_lib.c
ssl/ssl_local.h
util/libssl.num