aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-05-15 12:05:37 +0200
committerPéter Dimitrov <[email protected]>2018-06-20 15:18:37 +0200
commit0360e26f440e2f1ce81eb286e3ba657a56f666d5 (patch)
tree5875bbf3bc1ac83b219651b88d08605fb183bc47 /lib/ssl
parent648e19d82ee015692066a7bddcad68b511b35600 (diff)
downloadotp-0360e26f440e2f1ce81eb286e3ba657a56f666d5.tar.gz
otp-0360e26f440e2f1ce81eb286e3ba657a56f666d5.tar.bz2
otp-0360e26f440e2f1ce81eb286e3ba657a56f666d5.zip
ssl: Define VSN macro in source
Define VSN macro in source to remove syntax errors while editing the code. Change-Id: I508d16641cb65ec954fc3fcae90183fa297770da
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/src/Makefile2
-rw-r--r--lib/ssl/src/ssl_internal.hrl1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/Makefile b/lib/ssl/src/Makefile
index ebcb511653..0d4eb2212a 100644
--- a/lib/ssl/src/Makefile
+++ b/lib/ssl/src/Makefile
@@ -118,7 +118,7 @@ EXTRA_ERLC_FLAGS = +warn_unused_vars
ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/kernel/src \
-pz $(EBIN) \
-pz $(ERL_TOP)/lib/public_key/ebin \
- $(EXTRA_ERLC_FLAGS) -DVSN=\"$(VSN)\"
+ $(EXTRA_ERLC_FLAGS)
# ----------------------------------------------------
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index ae1c3ea47c..6719371f95 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -25,6 +25,7 @@
-include_lib("public_key/include/public_key.hrl").
+-define(VSN, "8.2.6").
-define(SECRET_PRINTOUT, "***").
-type reason() :: term().