diff options
author | Matt Caswell <matt@openssl.org> | 2020-01-16 12:13:09 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-01-22 10:47:12 +0000 |
commit | ba18627e4ac813ef7461241663be6a366ed61c8a (patch) | |
tree | c42485291ef7909bfe2b113270d14607ab1afc22 /include | |
parent | 7b131de2bb2be8582c6dfc50bdd3cbc49e1a08be (diff) |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 972e2ef827..3b52f86412 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1524,6 +1524,8 @@ void BIO_ssl_shutdown(BIO *ssl_bio); __owur int SSL_CTX_set_cipher_list(SSL_CTX *, const char *str); __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); +__owur SSL_CTX *SSL_CTX_new_with_libctx(OPENSSL_CTX *libctx, const char *propq, + const SSL_METHOD *meth); int SSL_CTX_up_ref(SSL_CTX *ctx); void SSL_CTX_free(SSL_CTX *); __owur long SSL_CTX_set_timeout(SSL_CTX *ctx, long t); |