From: Pauli Date: Tue, 2 Mar 2021 12:40:25 +0000 (+1000) Subject: apps: support param argument to init functions X-Git-Tag: openssl-3.0.0-alpha14~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebbf3563bdc41595eb0dacc932b7e8d440b6d267;p=thirdparty%2Fopenssl.git apps: support param argument to init functions Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14383) --- diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index f2efa1d5b87..27ade9f0792 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -606,11 +606,13 @@ static EVP_PKEY_CTX *init_ctx(const char *kdfalg, int *pkeysize, switch (pkey_op) { case EVP_PKEY_OP_SIGN: - rv = EVP_DigestSignInit_ex(mctx, NULL, digestname, libctx, propq, pkey); + rv = EVP_DigestSignInit_ex(mctx, NULL, digestname, libctx, propq, + pkey, NULL); break; case EVP_PKEY_OP_VERIFY: - rv = EVP_DigestVerifyInit_ex(mctx, NULL, digestname, libctx, propq, pkey); + rv = EVP_DigestVerifyInit_ex(mctx, NULL, digestname, libctx, propq, + pkey, NULL); break; }