summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-07-14 10:03:22 +1000
committerPauli <pauli@openssl.org>2021-07-15 16:46:18 +1000
commit56fdb70796010b8db598189d5c1e5a6b1479c2e6 (patch)
tree2e47e85d157597f2589349d381be4dbca9236287 /include
parent11f18ef1f5ea92ba32a3efeb0eaf1af6a1f35e13 (diff)
evp: constify some OSSL_PARAM arguments
These were missed when the initialisation params were added Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16072)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/evp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 76fabd63ed..f76c4a26d1 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -820,7 +820,7 @@ __owur int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
const char *mdname, OSSL_LIB_CTX *libctx,
const char *props, EVP_PKEY *pkey,
- OSSL_PARAM params[]);
+ const OSSL_PARAM params[]);
/*__owur*/ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
const EVP_MD *type, ENGINE *e,
EVP_PKEY *pkey);
@@ -831,7 +831,7 @@ __owur int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
int EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
const char *mdname, OSSL_LIB_CTX *libctx,
const char *props, EVP_PKEY *pkey,
- OSSL_PARAM params[]);
+ const OSSL_PARAM params[]);
__owur int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
const EVP_MD *type, ENGINE *e,
EVP_PKEY *pkey);