From b47ab2b5e9a8b68cba6bfa7f2b69727982ebcf3b Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Nov 10 2012 20:52:58 +0000 Subject: Fix build failure when using mock --- diff --git a/mingw-openssl-fix-fips-build-failure.patch b/mingw-openssl-fix-fips-build-failure.patch index a3192ca..34877bd 100644 --- a/mingw-openssl-fix-fips-build-failure.patch +++ b/mingw-openssl-fix-fips-build-failure.patch @@ -73,3 +73,26 @@ { RAND_poll(); initialized = 1; +--- openssl-1.0.1c/crypto/opensslconf.h.in 2012-11-09 20:34:03.434391630 +0100 ++++ openssl-1.0.1c/crypto/opensslconf.h.in.fips 2005-12-16 11:37:23.000000000 +0100 +@@ -1,20 +1,5 @@ + /* crypto/opensslconf.h.in */ + +-#ifdef OPENSSL_DOING_MAKEDEPEND +- +-/* Include any symbols here that have to be explicitly set to enable a feature +- * that should be visible to makedepend. +- * +- * [Our "make depend" doesn't actually look at this, we use actual build settings +- * instead; we want to make it easy to remove subdirectories with disabled algorithms.] +- */ +- +-#ifndef OPENSSL_FIPS +-#define OPENSSL_FIPS +-#endif +- +-#endif +- + /* Generate 80386 code? */ + #undef I386_ONLY +