From: Konstantin Demin Date: Mon, 25 Mar 2019 18:41:45 +0000 (+0300) Subject: dropbear: add initial support for ECC host key X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efc533cc2ff7ec99595727c4990b1fed006794ea;p=openwrt%2Fstaging%2Fmans0n.git dropbear: add initial support for ECC host key Signed-off-by: Konstantin Demin --- diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile index 768cc813fa..ca39f845b9 100644 --- a/package/network/services/dropbear/Makefile +++ b/package/network/services/dropbear/Makefile @@ -61,6 +61,7 @@ define Package/dropbear/description endef define Package/dropbear/conffiles +$(if $(CONFIG_DROPBEAR_ECC),/etc/dropbear/dropbear_ecdsa_host_key) /etc/dropbear/dropbear_rsa_host_key /etc/config/dropbear endef @@ -144,6 +145,7 @@ define Package/dropbear/install $(INSTALL_BIN) ./files/dropbear.init $(1)/etc/init.d/dropbear $(INSTALL_DIR) $(1)/usr/lib/opkg/info $(INSTALL_DIR) $(1)/etc/dropbear + $(if $(CONFIG_DROPBEAR_ECC),touch $(1)/etc/dropbear/dropbear_ecdsa_host_key) touch $(1)/etc/dropbear/dropbear_rsa_host_key endef