summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-11-25 20:16:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-11-25 20:16:06 +0000
commit8d532683386121e70810b0d7c6642cc2c2b89cb0 (patch)
tree866010763c829a35b18603c5af58896bd14afd18 /package/targets.mak
parent018025f0f36a4847df265c9948dbaf7073ed3245 (diff)
downloads6-networking-8d532683386121e70810b0d7c6642cc2c2b89cb0.tar.xz
Fix build bugs. It builds!
Two things remain to do: - how to pass SNI information to libtls - how to detect cert issuer key type for ECC in bearssl
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/targets.mak b/package/targets.mak
index 5ab8c07..12f9065 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -36,15 +36,13 @@ BIN_TARGETS += s6-tlsclient s6-tlsc s6-tlsserver s6-tlsd
ifeq ($(SSL_IMPL),tls)
-LIB_DEFS += STLS=stls
+LIB_DEFS += CRYPTOSUPPORT=stls
CRYPTO_LIB := -ltls -lssl -lcrypto
-LIBCRYPTOSUPPORT := -lstls
else ifeq ($(SSL_IMPL),bearssl)
-LIB_DEFS += SBEARSSL=sbearssl
+LIB_DEFS += CRYPTOSUPPORT=sbearssl
CRYPTO_LIB := -lbearssl
-LIBCRYPTOSUPPORT := -lsbearssl
endif
endif