File openssl-fips_disallow_x931_rand_method.patch of Package openssl
Index: openssl-1.0.1i/crypto/fips/fips_rand_lib.c
===================================================================
--- openssl-1.0.1i.orig/crypto/fips/fips_rand_lib.c 2014-09-24 16:41:20.959196379 +0200
+++ openssl-1.0.1i/crypto/fips/fips_rand_lib.c 2014-09-24 17:52:43.786367123 +0200
@@ -74,8 +74,6 @@ int FIPS_rand_set_method(const RAND_METH
{
if (meth == FIPS_drbg_method())
fips_approved_rand_meth = 1;
- else if (meth == FIPS_x931_method())
- fips_approved_rand_meth = 2;
else
{
fips_approved_rand_meth = 0;