File libgcrypt-fips_enable_hardware_support.patch of Package libgcrypt

Index: libgcrypt-1.6.1/src/hwfeatures.c
===================================================================
--- libgcrypt-1.6.1.orig/src/hwfeatures.c	2013-12-16 18:44:32.000000000 +0100
+++ libgcrypt-1.6.1/src/hwfeatures.c	2014-09-30 15:18:20.489803495 +0200
@@ -181,9 +181,6 @@ _gcry_detect_hw_features (void)
 {
   hw_features = 0;
 
-  if (fips_mode ())
-    return; /* Hardware support is not to be evaluated.  */
-
   parse_hwf_deny_file ();
 
 #if defined (HAVE_CPU_ARCH_X86)
openSUSE Build Service is sponsored by