contrib/package: switch default TLS provider to CyaSSL

This commit is contained in:
Jo-Philipp Wich 2010-03-23 00:20:39 +00:00
parent 969b971d0d
commit 61f22c5b39

View file

@ -275,7 +275,7 @@ endef
NIXIO_TLS:=axtls NIXIO_TLS:=cyassl
define Package/luci-nixio define Package/luci-nixio
$(call Package/luci/libtemplate) $(call Package/luci/libtemplate)
@ -290,7 +290,7 @@ endef
define Package/luci-nixio/config define Package/luci-nixio/config
choice choice
prompt "TLS Provider" prompt "TLS Provider"
default PACKAGE_luci-nixio_axtls default PACKAGE_luci-nixio_cyassl
config PACKAGE_luci-nixio_axtls config PACKAGE_luci-nixio_axtls
bool "Builtin (axTLS)" bool "Builtin (axTLS)"
@ -305,6 +305,10 @@ define Package/luci-nixio/config
endchoice endchoice
endef endef
ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
NIXIO_TLS:=axtls
endif
ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),) ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
NIXIO_TLS:=openssl NIXIO_TLS:=openssl
endif endif