The branch OpenSSL_1_0_1-stable has been updated
       via  66a1ccf494b8fe1b842cd7bdda2d1a025d325753 (commit)
      from  777adea16aded9e398fb691074da60891ef63c58 (commit)


- Log -----------------------------------------------------------------
commit 66a1ccf494b8fe1b842cd7bdda2d1a025d325753
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]>
    (cherry picked from commit c44844d928ad3c471c8dbe8baf2df8957900125b)

-----------------------------------------------------------------------

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

Reply via email to