diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-04 12:26:49 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-11 12:15:48 +0100 |
commit | 6debc6ab7499745baf7123e69936a9997dbbe6cb (patch) | |
tree | 4f891062f12d2fb28b66870c6bc0421d964773f9 /providers/implementations/macs/kmac_prov.c | |
parent | c48ffbcca1d0213c6bcbe85de7bb5dd23c76438d (diff) |
Convert all {NAME}err() in providers/ to their corresponding ERR_raise() call
This was done using util/err-to-raise
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13319)
Diffstat (limited to 'providers/implementations/macs/kmac_prov.c')
-rw-r--r-- | providers/implementations/macs/kmac_prov.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |