From: Andy Polyakov Date: Thu, 9 Dec 2004 18:03:23 +0000 (+0000) Subject: Postpone linking of shared libcrypto in FIPS build. X-Git-Tag: BEN_FIPS_TEST_6~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd5a2195def9d6dd9eaed0bf2d4f6074005012d3;p=oweals%2Fopenssl.git Postpone linking of shared libcrypto in FIPS build. --- diff --git a/crypto/Makefile b/crypto/Makefile index 0f2d3b4cdb..cd21731e17 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -95,7 +95,9 @@ lib: $(LIBOBJ) shared: buildinf.h lib subdirs if [ -n "$(SHARED_LIBS)" ]; then \ + if ! egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ + fi \ fi libs: