Skip to content

Commit

Permalink
Fixup for iterated hash ctx destroy.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Jul 30, 2021
1 parent f44e302 commit cbf06e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iterated_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ iterated_hash(unsigned char out[SHA_DIGEST_LENGTH],
inlength=SHA_DIGEST_LENGTH;
}
#if defined(HAVE_SHA1_INIT) && !defined(DEPRECATED_SHA1_INIT)
#else
EVP_MD_CTX_destroy(ctx);
#endif
return SHA_DIGEST_LENGTH;
Expand Down

0 comments on commit cbf06e5

Please sign in to comment.