diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-13 09:28:24 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-08-21 09:04:11 +0200 |
commit | 1a7cd250ad55a3c9d684a7259c20ea8075c2b08b (patch) | |
tree | a0b9578bdfbe5d577a9077a33a631d480be42c74 /doc/man3/OSSL_CMP_SRV_CTX_new.pod | |
parent | cmp_vfy.c: Fix bug: must verify msg signature also in 3GPP mode (diff) | |
download | openssl-1a7cd250ad55a3c9d684a7259c20ea8075c2b08b.tar.xz openssl-1a7cd250ad55a3c9d684a7259c20ea8075c2b08b.zip |
Add libctx and propq parameters to OSSL_CMP_{SRV_},CTX_new() and ossl_cmp_mock_srv_new()
Also remove not really to-the-point error message if call fails in apps/cmp.c
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11808)
Diffstat (limited to 'doc/man3/OSSL_CMP_SRV_CTX_new.pod')
-rw-r--r-- | doc/man3/OSSL_CMP_SRV_CTX_new.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man3/OSSL_CMP_SRV_CTX_new.pod b/doc/man3/OSSL_CMP_SRV_CTX_new.pod index 27d4f6ca1e..7d87d7df2c 100644 --- a/doc/man3/OSSL_CMP_SRV_CTX_new.pod +++ b/doc/man3/OSSL_CMP_SRV_CTX_new.pod @@ -29,7 +29,7 @@ OSSL_CMP_SRV_CTX_set_grant_implicit_confirm const OSSL_CMP_MSG *req); OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, const OSSL_CMP_MSG *req); - OSSL_CMP_SRV_CTX *OSSL_CMP_SRV_CTX_new(void); + OSSL_CMP_SRV_CTX *OSSL_CMP_SRV_CTX_new(OPENSSL_CTX *libctx, const char *propq); void OSSL_CMP_SRV_CTX_free(OSSL_CMP_SRV_CTX *srv_ctx); typedef OSSL_CMP_PKISI *(*OSSL_CMP_SRV_cert_request_cb_t)( @@ -95,8 +95,9 @@ B<OSSL_CMP_SRV_process_request()> that can be used by a CMP client in the same way as B<OSSL_CMP_MSG_http_perform()>. The B<OSSL_CMP_SRV_CTX> must be set as I<transfer_cb_arg> of I<client_ctx>. -OSSL_CMP_SRV_CTX_new() creates and initializes an OSSL_CMP_SRV_CTX structure -and returns a pointer to it on success, NULL on error. +OSSL_CMP_SRV_CTX_new() creates and initializes an B<OSSL_CMP_SRV_CTX> structure +associated with the library context I<libctx> and property query string +I<propq>, both of which may be NULL to select the defaults. OSSL_CMP_SRV_CTX_free() deletes the given I<srv_ctx>. |