update openssl to new upstream release (v0.9.7i),
[openwrt-10.03/.git] / package / openssl / patches / 150-remove-fips.patch
1 diff -ruN openssl-0.9.7h-old/Makefile.org openssl-0.9.7h-new/Makefile.org
2 --- openssl-0.9.7h-old/Makefile.org     2005-10-12 23:12:38.000000000 +0200
3 +++ openssl-0.9.7h-new/Makefile.org     2005-10-12 23:13:38.000000000 +0200
4 @@ -230,7 +230,6 @@
5  libcrypto.a.sha1: libcrypto.a
6         @if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
7                 $(RANLIB) libcrypto.a; \
8 -               fips/sha/fips_standalone_sha1 libcrypto.a > libcrypto.a.sha1; \
9         fi
10  
11  sub_all:
12 @@ -258,9 +257,6 @@
13  libcrypto$(SHLIB_EXT): libcrypto.a
14         @if [ "$(SHLIB_TARGET)" != "" ]; then \
15                 $(MAKE) SHLIBDIRS=crypto build-shared; \
16 -               if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
17 -                    fips/sha/fips_standalone_sha1 -binary $@ > $@.$${HMAC_EXT:-sha1}; \
18 -               fi; \
19         else \
20                 echo "There's no support for shared libraries on this platform" >&2; \
21         fi