diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-08 01:01:13 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-08 01:04:55 +0100 |
commit | c44844d928ad3c471c8dbe8baf2df8957900125b (patch) | |
tree | a55e8447c86e99412b5f2c2b4c4742c4d84c7124 /crypto/sha | |
parent | 4e295148c302feb394ea547debc20338305d92b2 (diff) |
Cleanup the EVP_MD_CTX before exit rather than after
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/sha1test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c index 0052a95c7d..551a348df3 100644 --- a/crypto/sha/sha1test.c +++ b/crypto/sha/sha1test.c @@ -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); } |