components/openssl/openssl-1.0.1-fips-140/patches/27-6978791.patch
author Misaki Miyashita <Misaki.Miyashita@Oracle.COM>
Mon, 09 Dec 2013 15:11:31 -0800
changeset 1586 2d3ec080d6a3
parent 363 components/openssl/openssl-0.9.8-fips-140/patches/27-6978791.patch@9c0cad004039
permissions -rw-r--r--
PSARC/2013/383 OpenSSL FIPS 140-2 version update 15801760 SUNBT7181479 FIPS-capable version of OpenSSL using OpenSSL FIPS Object Module v2

--- /tmp/Makefile.shared	Mon Feb 14 14:39:29 2011
+++ openssl-1.0.0d/Makefile.shared	Mon Feb 14 14:50:52 2011
@@ -387,6 +387,9 @@
 		ALLSYMSFLAGS="$${MINUSZ}allextract"; \
 		NOALLSYMSFLAGS="$${MINUSZ}defaultextract"; \
 		SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
+		if [ $(LIBNAME) = "ssl" ]; then \
+			SHAREDFLAGS="$$SHAREDFLAGS $${MINUSZ}nodelete"; \
+		fi; \
 	fi; \
 	$(LINK_SO_A)
 # Make sure the apps have non-executable stacks and data (x86/x64 only).