Skip to content

Commit

Permalink
fixup! Add a generic digest utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
simo5 committed Sep 27, 2024
1 parent 112d7cf commit c183be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ CK_RV p11prov_digest_util(P11PROV_CTX *ctx, const char *digest,
if (!data || !output) {
rv = CKR_GENERAL_ERROR;
P11PROV_raise(ctx, rv, "Invalid function arguments");
goto done;
return rv;
}

md = EVP_MD_fetch(p11prov_ctx_get_libctx(ctx), digest, properties);
Expand Down

0 comments on commit c183be6

Please sign in to comment.