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 /fuzz/cmp.c | |
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 'fuzz/cmp.c')
-rw-r--r-- | fuzz/cmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/cmp.c b/fuzz/cmp.c index a63ef9c238..44a0c1adeb 100644 --- a/fuzz/cmp.c +++ b/fuzz/cmp.c @@ -171,8 +171,8 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) msg = d2i_OSSL_CMP_MSG_bio(in, NULL); if (msg != NULL) { BIO *out = BIO_new(BIO_s_null()); - OSSL_CMP_SRV_CTX *srv_ctx = OSSL_CMP_SRV_CTX_new(); - OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(); + OSSL_CMP_SRV_CTX *srv_ctx = OSSL_CMP_SRV_CTX_new(NULL, NULL); + OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL); i2d_OSSL_CMP_MSG_bio(out, msg); ASN1_item_print(out, (ASN1_VALUE *)msg, 4, |