diff options
author | Pauli <pauli@openssl.org> | 2021-07-14 10:03:22 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-07-15 16:46:18 +1000 |
commit | 56fdb70796010b8db598189d5c1e5a6b1479c2e6 (patch) | |
tree | 2e47e85d157597f2589349d381be4dbca9236287 /crypto | |
parent | 11f18ef1f5ea92ba32a3efeb0eaf1af6a1f35e13 (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 'crypto')
-rw-r--r-- | crypto/evp/m_sigver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c index 63360a94bc..ae79562e2d 100644 --- a/crypto/evp/m_sigver.c +++ b/crypto/evp/m_sigver.c @@ -40,7 +40,7 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, const char *mdname, OSSL_LIB_CTX *libctx, const char *props, ENGINE *e, EVP_PKEY *pkey, int ver, - OSSL_PARAM params[]) + const OSSL_PARAM params[]) { EVP_PKEY_CTX *locpctx = NULL; EVP_SIGNATURE *signature = NULL; @@ -304,7 +304,7 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 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[]) { return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 0, params); @@ -320,7 +320,7 @@ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 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[]) { return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 1, params); |