From 6debc6ab7499745baf7123e69936a9997dbbe6cb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 4 Nov 2020 12:26:49 +0100 Subject: Convert all {NAME}err() in providers/ to their corresponding ERR_raise() call This was done using util/err-to-raise Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/13319) --- providers/implementations/macs/kmac_prov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'providers/implementations/macs/kmac_prov.c') diff --git a/providers/implementations/macs/kmac_prov.c b/providers/implementations/macs/kmac_prov.c index eb60510b96..940fe7eb3d 100644 --- a/providers/implementations/macs/kmac_prov.c +++ b/providers/implementations/macs/kmac_prov.c @@ -252,7 +252,7 @@ static int kmac_init(void *vmacctx) /* Check key has been set */ if (kctx->key_len == 0) { - EVPerr(EVP_F_KMAC_INIT, EVP_R_NO_KEY_SET); + ERR_raise(ERR_LIB_EVP, EVP_R_NO_KEY_SET); return 0; } if (!EVP_DigestInit_ex(kctx->ctx, ossl_prov_digest_md(&kctx->digest), -- cgit v1.2.3