summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2023-03-10 15:16:01 +0100
committerTomas Mraz <tomas@openssl.org>2023-03-21 10:59:34 +0100
commit20213c1b543e5e7b756ed8582065116073c1672d (patch)
tree54927ef044169260dc48a9e0d798014f7c0fc0b4 /include
parent56a5e67b96184df07f354bbd62423a546bb81a1c (diff)
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) (cherry picked from commit 6f792f4d27b47213166e0fa9c9b10a3eab85b8f6)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/cmp.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/cmp.h.in b/include/openssl/cmp.h.in
index e2d8637d08..b8ba2f5efb 100644
--- a/include/openssl/cmp.h.in
+++ b/include/openssl/cmp.h.in
@@ -324,7 +324,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);