Allocate a CMP context with default options for client or server use.
Declared in <openssl/cmp.h>
OSSL_CMP_CTX*
OSSL_CMP_CTX_new(
OSSL_LIB_CTX* libctx,
char const* propq);
New OSSL_CMP_CTX, or NULL on allocation failure.
| Name | Description |
|---|---|
| libctx | Library context, or NULL for the default. |
| propq | Property query string for algorithm fetching, or NULL. |