Add the function openssl_ctx_get_concrete()
authorMatt Caswell <matt@openssl.org>
Tue, 28 May 2019 14:58:08 +0000 (15:58 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 17 Jun 2019 14:32:54 +0000 (15:32 +0100)
commitd4c051cef338eecf092affbb479d1f87c1ea31d9
treedf622ee097f1fcb54b324ac672abab3e64207649
parent30478c97837a026ba56718f98d490adf7bce2760
Add the function openssl_ctx_get_concrete()

This adds the ability to take an OPENSSL_CTX parameter and either return it
as is (unchanged), or if it is NULL return a pointer to the default ctx.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9040)
crypto/context.c
include/internal/cryptlib.h