EVP_DigestFinal_ex

This commit is contained in:
Viktor Szakats 2026-06-30 00:01:38 +02:00
parent 4d12eb1a88
commit cbaa9d65e1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ static void my_md4_update(my_md4_ctx *ctx,
static void my_md4_final(unsigned char *digest, my_md4_ctx *ctx)
{
(void)EVP_DigestFinal(*ctx, digest, NULL);
(void)EVP_DigestFinal_ex(*ctx, digest, NULL);
EVP_MD_CTX_free(*ctx);
*ctx = NULL;
}

View file

@ -106,7 +106,7 @@ static void my_md5_final(unsigned char *digest, void *ctx)
{
EVP_MD_CTX **pctx = (EVP_MD_CTX **)ctx;
(void)EVP_DigestFinal(*pctx, digest, NULL);
(void)EVP_DigestFinal_ex(*pctx, digest, NULL);
EVP_MD_CTX_free(*pctx);
*pctx = NULL;
}