diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-01-04 14:24:24 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-01-04 14:24:24 +0000 |
commit | dc1565216a5d20ae0d75872151523252309a1292 (patch) | |
tree | d57454ba9a40386552179eddf60d28bd1e8f3d54 /nss/lib/ssl/Makefile | |
parent | 26c046fbc57d53136b4fb3b5e0d18298318125d4 (diff) | |
download | nss-dc1565216a5d20ae0d75872151523252309a1292.tar.gz |
nss-3.28.1nss-3.28.1
Diffstat (limited to 'nss/lib/ssl/Makefile')
-rw-r--r-- | nss/lib/ssl/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/nss/lib/ssl/Makefile b/nss/lib/ssl/Makefile index d56cbf2..24fccc5 100644 --- a/nss/lib/ssl/Makefile +++ b/nss/lib/ssl/Makefile @@ -18,8 +18,8 @@ include $(CORE_DEPTH)/coreconf/config.mk ####################################################################### # (3) Include "component" configuration information. (OPTIONAL) # -####################################################################### - +###################################################################### +# ####################################################################### @@ -39,6 +39,13 @@ CSRCS += unix_err.c endif endif +# Enable key logging by default in debug builds, but not opt builds. +# Logging still needs to be enabled at runtime through env vars. +NSS_ALLOW_SSLKEYLOGFILE ?= $(if $(BUILD_OPT),0,1) +ifeq (1,$(NSS_ALLOW_SSLKEYLOGFILE)) +DEFINES += -DNSS_ALLOW_SSLKEYLOGFILE=1 +endif + ####################################################################### # (5) Execute "global" rules. (OPTIONAL) # ####################################################################### @@ -56,8 +63,3 @@ include $(CORE_DEPTH)/coreconf/rules.mk ####################################################################### export:: private_export - -ifndef NSS_NO_PKCS11_BYPASS -# indicates dependency on freebl static lib -$(SHARED_LIBRARY): $(CRYPTOLIB) -endif |