aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-02-06 14:24:21 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-02-07 10:30:05 +0100
commit0833f07c534d98ebe551cc0627fcb8875c6592d9 (patch)
treefaf28d89b9afe3d5d4ceaa4ea79e3f6a89281101 /include/libssh
parent805709dd36ad60fa005d50f9230030d1daa23235 (diff)
downloadlibssh-0833f07c534d98ebe551cc0627fcb8875c6592d9.tar.gz
libssh-0833f07c534d98ebe551cc0627fcb8875c6592d9.tar.xz
libssh-0833f07c534d98ebe551cc0627fcb8875c6592d9.zip
options: Allow to configure cryptographic algorithms for server
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/server.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index aeacda00..9fe73575 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -46,7 +46,12 @@ enum ssh_bind_options_e {
SSH_BIND_OPTIONS_LOG_VERBOSITY,
SSH_BIND_OPTIONS_LOG_VERBOSITY_STR,
SSH_BIND_OPTIONS_ECDSAKEY,
- SSH_BIND_OPTIONS_IMPORT_KEY
+ SSH_BIND_OPTIONS_IMPORT_KEY,
+ SSH_BIND_OPTIONS_KEY_EXCHANGE,
+ SSH_BIND_OPTIONS_CIPHERS_C_S,
+ SSH_BIND_OPTIONS_CIPHERS_S_C,
+ SSH_BIND_OPTIONS_HMAC_C_S,
+ SSH_BIND_OPTIONS_HMAC_S_C
};
typedef struct ssh_bind_struct* ssh_bind;