Applies to 1.0.1 and HEAD.

Signed-off-by: Thomas Jarosch <[email protected]>
---
 crypto/evp/evp_test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index 902efac..55c7cdf 100644
--- a/crypto/evp/evp_test.c
+++ b/crypto/evp/evp_test.c
@@ -435,6 +435,7 @@ int main(int argc,char **argv)
            EXIT(3);
            }
        }
+       fclose(f);
 
 #ifndef OPENSSL_NO_ENGINE
     ENGINE_cleanup();
-- 
1.7.4.4

>From 6e1b8ce4fa4e9d31cae6e87326d4bc348852eab8 Mon Sep 17 00:00:00 2001
From: Thomas Jarosch <[email protected]>
Date: Sun, 28 Aug 2011 01:55:24 +0200
Subject: [PATCH 3/4] Do proper cleanup: Close file descriptor

Applies to 1.0.1 and HEAD.

Signed-off-by: Thomas Jarosch <[email protected]>
---
 crypto/evp/evp_test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index 902efac..55c7cdf 100644
--- a/crypto/evp/evp_test.c
+++ b/crypto/evp/evp_test.c
@@ -435,6 +435,7 @@ int main(int argc,char **argv)
 	    EXIT(3);
 	    }
 	}
+	fclose(f);
 
 #ifndef OPENSSL_NO_ENGINE
     ENGINE_cleanup();
-- 
1.7.4.4

Reply via email to