mirror of
https://github.com/curl/curl.git
synced 2026-07-31 11:38:06 +03:00
curl_sha512_256.c fixup
This commit is contained in:
parent
029d4cc94e
commit
dec4035390
1 changed files with 2 additions and 0 deletions
|
|
@ -173,6 +173,8 @@ static CURLcode Curl_sha512_256_finish(unsigned char *digest, void *in)
|
|||
CURLE_OK : CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
#endif /* NEED_NETBSD_SHA512_256_WORKAROUND */
|
||||
}
|
||||
else
|
||||
result = CURLE_OK;
|
||||
EVP_MD_CTX_free(*ctx);
|
||||
*ctx = NULL;
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue