mirror of
https://github.com/curl/curl.git
synced 2026-08-05 18:26:14 +03:00
EVP_DigestFinal_ex
This commit is contained in:
parent
4d12eb1a88
commit
cbaa9d65e1
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue