components/openssl/openssl-1.0.1-fips-140/patches/34_tls_segfault.patch
changeset 1818 bb0ae58774e5
parent 1817 ff42a83716c4
child 1819 36c9d3c4fc50
--- a/components/openssl/openssl-1.0.1-fips-140/patches/34_tls_segfault.patch	Mon Apr 07 12:48:54 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-Index: openssl/ssl/t1_enc.c
-============================================================================
-$ diff -ru ssl/t1_enc.c ssl/t1_enc.c
---- t1_enc.c.orig       Tue Dec 10 15:36:05 2013
-+++ t1_enc.c    Wed Dec 11 09:29:02 2013
-@@ -986,7 +986,10 @@
- 		}
- 		else
- 		{
--			EVP_MD_CTX_copy(&hmac,hash);
-+			if (EVP_MD_CTX_copy(&hmac,hash) != 1)
-+				{
-+				return (0);
-+				}
- 			mac_ctx = &hmac;
- 		}
-