File 0003-Taking-only-the-change-to-the-preprocessor-condition.patch of Package openssl.4105

From 8da239c79705fbdc79cd7cdd3d86e047f06cad39 Mon Sep 17 00:00:00 2001
From: "Leonidas S. Barbosa" <leosilva@linux.vnet.ibm.com>
Date: Tue, 1 Sep 2015 17:31:13 -0400
Subject: [PATCH 3/4] Taking only the change to the preprocessor condition for
 gcm128.c

From 82741e9c8980f96e4b3bba9e54e5904bc3e385bd
---
 crypto/modes/gcm128.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c
index 8fa0baa..27f1f1f 100644
--- a/crypto/modes/gcm128.c
+++ b/crypto/modes/gcm128.c
@@ -642,7 +642,7 @@ static void gcm_gmult_1bit(u64 Xi[2],const u64 H[2])
 
 #endif
 
-#if	TABLE_BITS==4 && defined(GHASH_ASM)
+#if	TABLE_BITS==4 && (defined(GHASH_ASM) || defined(OPENSSL_CPUID_OBJ))
 # if	!defined(I386_ONLY) && \
 	(defined(__i386)	|| defined(__i386__)	|| \
 	 defined(__x86_64)	|| defined(__x86_64__)	|| \
-- 
1.8.5.6
openSUSE Build Service is sponsored by