The branch OpenSSL_1_0_2-stable has been updated
via c44844d928ad3c471c8dbe8baf2df8957900125b (commit)
from 4e295148c302feb394ea547debc20338305d92b2 (commit)
- Log -----------------------------------------------------------------
commit c44844d928ad3c471c8dbe8baf2df8957900125b
Author: Richard Levitte <[email protected]>
Date: Tue Dec 8 01:01:13 2015 +0100
Cleanup the EVP_MD_CTX before exit rather than after
Reviewed-by: Matt Caswell <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
crypto/sha/sha1test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c
index 0052a95..551a348 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);
}
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits