aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/bind_config.h
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-05-17 13:05:46 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-12 10:17:54 +0200
commit07faf95a105721422212c1a3216aba218cb94cd9 (patch)
tree4340eee6f621c70cc3847ecc9d34a3c15592119b /include/libssh/bind_config.h
parent250a0be0f9fa371b3dda5db594729fae862ee26d (diff)
downloadlibssh-07faf95a105721422212c1a3216aba218cb94cd9.tar.gz
libssh-07faf95a105721422212c1a3216aba218cb94cd9.tar.xz
libssh-07faf95a105721422212c1a3216aba218cb94cd9.zip
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 <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh/bind_config.h')
-rw-r--r--include/libssh/bind_config.h1
1 files changed, 1 insertions, 0 deletions
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 */
};