mirror of
https://github.com/curl/curl.git
synced 2026-04-15 07:11:40 +03:00
parent
74623551f3
commit
fae3065676
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ static void SHA256_Update(SHA256_CTX *ctx,
|
|||
static void SHA256_Final(unsigned char *digest, SHA256_CTX *ctx)
|
||||
{
|
||||
unsigned long length;
|
||||
length = 0;
|
||||
|
||||
CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0);
|
||||
if(length == SHA256_DIGEST_LENGTH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue