contrib/package: switch default TLS provider to CyaSSL
This commit is contained in:
parent
969b971d0d
commit
61f22c5b39
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue