projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777adea
)
Cleanup the EVP_MD_CTX before exit rather than after
author
Richard Levitte
<levitte@openssl.org>
Tue, 8 Dec 2015 00:01:13 +0000
(
01:01
+0100)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 8 Dec 2015 11:07:22 +0000
(12:07 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit
c44844d928ad3c471c8dbe8baf2df8957900125b
)
crypto/sha/sha1test.c
patch
|
blob
|
history
diff --git
a/crypto/sha/sha1test.c
b/crypto/sha/sha1test.c
index 0052a95c7dd43658561642f415d36882c2c07529..551a348df37f1f9592a702ee7e828ff38bf11b47 100644
(file)
--- 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);
}