mirror of https://github.com/openwrt/luci.git
contrib/package: switch default TLS provider to CyaSSL
parent
969b971d0d
commit
61f22c5b39
|
@ -275,7 +275,7 @@ endef
|
|||
|
||||
|
||||
|
||||
NIXIO_TLS:=axtls
|
||||
NIXIO_TLS:=cyassl
|
||||
|
||||
define Package/luci-nixio
|
||||
$(call Package/luci/libtemplate)
|
||||
|
@ -290,7 +290,7 @@ endef
|
|||
define Package/luci-nixio/config
|
||||
choice
|
||||
prompt "TLS Provider"
|
||||
default PACKAGE_luci-nixio_axtls
|
||||
default PACKAGE_luci-nixio_cyassl
|
||||
|
||||
config PACKAGE_luci-nixio_axtls
|
||||
bool "Builtin (axTLS)"
|
||||
|
@ -305,6 +305,10 @@ define Package/luci-nixio/config
|
|||
endchoice
|
||||
endef
|
||||
|
||||
ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
|
||||
NIXIO_TLS:=axtls
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
|
||||
NIXIO_TLS:=openssl
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue