summaryrefslogtreecommitdiff
path: root/openwrt/package/openssl/patches/remove_fips.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-03 20:15:32 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-03 20:15:32 +0000
commit20fbc8eaac5d4bdb4d7436bea3c07287c3d1cde6 (patch)
treed807325ce18a8616c5ed512bf5c6e96f0154f3d2 /openwrt/package/openssl/patches/remove_fips.patch
parentb32a0ceff198e0bf11b5cecff155fc5f7e2443f3 (diff)
upgrade to dnsmasq 2.22 and openssl 0.9.7f
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@546 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/openssl/patches/remove_fips.patch')
-rw-r--r--openwrt/package/openssl/patches/remove_fips.patch27
1 files changed, 6 insertions, 21 deletions
diff --git a/openwrt/package/openssl/patches/remove_fips.patch b/openwrt/package/openssl/patches/remove_fips.patch
index 6c0c6133bc..de99c5b6a2 100644
--- a/openwrt/package/openssl/patches/remove_fips.patch
+++ b/openwrt/package/openssl/patches/remove_fips.patch
@@ -1,35 +1,20 @@
-diff -urN openssl-0.9.7e.old/Makefile.org openssl-0.9.7e/Makefile.org
---- openssl-0.9.7e.old/Makefile.org 2004-09-28 22:52:14.000000000 +0200
-+++ openssl-0.9.7e/Makefile.org 2005-03-03 15:55:11.000000000 +0100
-@@ -175,8 +175,8 @@
+diff -Nur openssl-0.9.7f/Makefile.org openssl-0.9.7f.new/Makefile.org
+--- openssl-0.9.7f/Makefile.org 2005-03-15 10:46:13.000000000 +0100
++++ openssl-0.9.7f.new/Makefile.org 2005-04-03 20:15:26.000000000 +0200
+@@ -175,7 +175,7 @@
# we might set SHLIB_MARK to '$(SHARED_LIBS)'.
SHLIB_MARK=
-DIRS= crypto fips ssl $(SHLIB_MARK) sigs apps test tools
--SHLIBDIRS= fips crypto ssl
+DIRS= crypto ssl $(SHLIB_MARK) sigs apps test tools
-+SHLIBDIRS= crypto ssl
+ SHLIBDIRS= crypto ssl
# dirs in crypto to build
- SDIRS= objects \
@@ -229,7 +229,6 @@
libcrypto.a.sha1: libcrypto.a
- if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
+ @if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
$(RANLIB) libcrypto.a; \
- fips/sha1/fips_standalone_sha1 libcrypto.a > libcrypto.a.sha1; \
fi
sub_all:
---- openssl-0.9.7e/crypto/rand/rand_lib.c 2004-07-30 16:38:00.000000000 +0200
-+++ openssl-0.9.7e.patched/crypto/rand/rand_lib.c 2005-02-18 15:46:22.000000000 +0100
-@@ -63,8 +63,10 @@
- #ifndef OPENSSL_NO_ENGINE
- #include <openssl/engine.h>
- #endif
-+#ifdef OPENSSL_FIPS
- #include <openssl/fips.h>
- #include <openssl/fips_rand.h>
-+#endif
-
- #ifndef OPENSSL_NO_ENGINE
- /* non-NULL if default_RAND_meth is ENGINE-provided */