File openssl-app-genrsa-fips.patch of Package openssl
Index: openssl-1.0.1h/apps/genrsa.c =================================================================== --- openssl-1.0.1h.orig/apps/genrsa.c +++ openssl-1.0.1h/apps/genrsa.c @@ -78,7 +78,12 @@ #include <openssl/pem.h> #include <openssl/rand.h> -#define DEFBITS 1024 +#ifdef OPENSSL_FIPS +#define DEFBITS 2048 +#else +#define DEFBITS 1024 +#endif + #undef PROG #define PROG genrsa_main