From 07faf95a105721422212c1a3216aba218cb94cd9 Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Fri, 17 May 2019 13:05:46 +0200 Subject: bind_config: Add support for HostKeyAlgorithms Add support for setting the allowed HostKey algorithms through configuration file. Note that this does NOT add support for adding or removing values using '+' or '-'. Only replacing the whole list is supported. Signed-off-by: Anderson Toshiyuki Sasaki Reviewed-by: Jakub Jelen --- include/libssh/bind_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/bind_config.h') diff --git a/include/libssh/bind_config.h b/include/libssh/bind_config.h index 080c1bc9..cb68da89 100644 --- a/include/libssh/bind_config.h +++ b/include/libssh/bind_config.h @@ -47,6 +47,7 @@ enum ssh_bind_config_opcode_e { BIND_CFG_KEXALGORITHMS, BIND_CFG_MATCH, BIND_CFG_PUBKEY_ACCEPTED_KEY_TYPES, + BIND_CFG_HOSTKEY_ALGORITHMS, BIND_CFG_MAX /* Keep this one last in the list */ }; -- cgit v1.2.3