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:01:13 +0100 |
commit | c376d170d184c037134005830e584e21f429dfb2 (patch) | |
tree | 357a045321060828ace9d8a66699f8796146e240 /test | |
parent | 3cb9fd97ced4a74ba5d4751c455146899164a202 (diff) |
Cleanup the EVP_MD_CTX before exit rather than after
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/sha1test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sha1test.c b/test/sha1test.c index 676cc84839..8cba4b22fd 100644 --- a/test/sha1test.c +++ b/test/sha1test.c @@ -136,8 +136,8 @@ int main(int argc, char *argv[]) if (err) printf("ERROR: %d\n", err); #endif - EXIT(err); EVP_MD_CTX_free(c); + EXIT(err); return (0); } |