Skip to content

Commit

Permalink
Cleanup the EVP_MD_CTX before exit rather than after
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
  • Loading branch information
levitte committed Dec 8, 2015
1 parent 4e29514 commit c44844d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/sha/sha1test.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ int main(int argc, char *argv[])
if (err)
printf("ERROR: %d\n", err);
# endif
EXIT(err);
EVP_MD_CTX_cleanup(&c);
EXIT(err);
return (0);
}

Expand Down

0 comments on commit c44844d

Please sign in to comment.