1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 11:21:52 +02:00
openwrt-xburst/package/openssl/patches/150-remove-fips.patch

22 lines
898 B
Diff
Raw Normal View History

diff -ruN openssl-0.9.7h-old/Makefile.org openssl-0.9.7h-new/Makefile.org
--- openssl-0.9.7h-old/Makefile.org 2005-10-12 23:12:38.000000000 +0200
+++ openssl-0.9.7h-new/Makefile.org 2005-10-12 23:13:38.000000000 +0200
@@ -230,7 +230,6 @@
libcrypto.a.sha1: libcrypto.a
@if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
$(RANLIB) libcrypto.a; \
- fips/sha/fips_standalone_sha1 libcrypto.a > libcrypto.a.sha1; \
fi
sub_all:
@@ -258,9 +257,6 @@
libcrypto$(SHLIB_EXT): libcrypto.a
@if [ "$(SHLIB_TARGET)" != "" ]; then \
$(MAKE) SHLIBDIRS=crypto build-shared; \
- if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
- fips/sha/fips_standalone_sha1 -binary $@ > $@.$${HMAC_EXT:-sha1}; \
- fi; \
else \
echo "There's no support for shared libraries on this platform" >&2; \
fi