diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2023-03-10 15:16:01 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-03-21 10:57:24 +0100 |
commit | 6f792f4d27b47213166e0fa9c9b10a3eab85b8f6 (patch) | |
tree | 825f32864b6568f955e458f91365aebfaf56403d /include/openssl | |
parent | f42d6b7ae62a2b2914b144153af56096f9b4a6d5 (diff) | |
download | openssl-new-6f792f4d27b47213166e0fa9c9b10a3eab85b8f6.tar.gz |
cmp: fix --strict-warnings windows builds
remove unneeded const qualifier to keep method declaration
and definition in sync.
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/20436)
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/cmp.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/cmp.h.in b/include/openssl/cmp.h.in index 0ac7f5b040..32360120c2 100644 --- a/include/openssl/cmp.h.in +++ b/include/openssl/cmp.h.in @@ -330,7 +330,7 @@ int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx, const unsigned char *ref, int len); int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx, - const unsigned char *sec, const int len); + const unsigned char *sec, int len); /* CMP message header and extra certificates: */ int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name); int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); |