diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-29 17:14:14 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-06-13 15:13:21 +0200 |
commit | c4a9e3ebbbbc2dc371b4fea5fa62120ed14ecaa7 (patch) | |
tree | f38ee0f3448b660e89366b35fb4d5fb992241d08 /crypto/cmp/cmp_ctx.c | |
parent | 7e8dbb74620ac4420ad4d3adca51ce1b9a3e114c (diff) |
Move part of OSSL_CMP_validate_msg() to ossl_cmp_msg_check_update()
as checking expected_sender and adding caPubs is not part of msg validation.
Also constify a couple of internal and public functions related to cmp_vfy.c
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11998)
Diffstat (limited to 'crypto/cmp/cmp_ctx.c')
-rw-r--r-- | crypto/cmp/cmp_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cmp/cmp_ctx.c b/crypto/cmp/cmp_ctx.c index 9aeee7f5dd..9f70de5038 100644 --- a/crypto/cmp/cmp_ctx.c +++ b/crypto/cmp/cmp_ctx.c @@ -393,7 +393,7 @@ int OSSL_CMP_CTX_set_log_cb(OSSL_CMP_CTX *ctx, OSSL_CMP_log_cb_t cb) } /* Print OpenSSL and CMP errors via the log cb of the ctx or ERR_print_errors */ -void OSSL_CMP_CTX_print_errors(OSSL_CMP_CTX *ctx) +void OSSL_CMP_CTX_print_errors(const OSSL_CMP_CTX *ctx) { OSSL_CMP_print_errors_cb(ctx == NULL ? NULL : ctx->log_cb); } |