Reset calculated message digest, CID 1519395

This commit is contained in:
olszomal
2023-01-12 15:25:42 +01:00
committed by Michał Trojnara
parent 4da5526c05
commit c29e14e697
2 changed files with 2 additions and 3 deletions

1
msi.c
View File

@ -745,7 +745,6 @@ int msi_calc_digest(char *indata, int mdtype, u_char *mdbuf, uint32_t fileend)
printf("Unable to set up the digest context\n");
goto out;
}
memset(mdbuf, 0, EVP_MAX_MD_SIZE);
(void)BIO_seek(bio, 0);
n = 0;