diff options
author | Alfredo Mazzinghi <am2419@cl.cam.ac.uk> | 2016-11-12 01:33:37 +0000 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-11 10:00:13 +0200 |
commit | 9dc650b7fbaef422e2a148322563106f3fbacb7a (patch) | |
tree | e413846318ba14a0d8f288b2cafce2128992ed5f /include | |
parent | 3ec8babfaf2c2b565f837621d0af094a92252241 (diff) | |
download | libssh-9dc650b7fbaef422e2a148322563106f3fbacb7a.tar.gz libssh-9dc650b7fbaef422e2a148322563106f3fbacb7a.tar.xz libssh-9dc650b7fbaef422e2a148322563106f3fbacb7a.zip |
server: Add option SSH_BIND_OPTIONS_IMPORT_KEY to server
This sets the bind private key directly from an ssh_key struct instead
of reading a file.
Signed-off-by: Alfredo Mazzinghi <am2419@cl.cam.ac.uk>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h index ec09f2f8..c2132de1 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -45,7 +45,8 @@ enum ssh_bind_options_e { SSH_BIND_OPTIONS_BANNER, SSH_BIND_OPTIONS_LOG_VERBOSITY, SSH_BIND_OPTIONS_LOG_VERBOSITY_STR, - SSH_BIND_OPTIONS_ECDSAKEY + SSH_BIND_OPTIONS_ECDSAKEY, + SSH_BIND_OPTIONS_IMPORT_KEY }; typedef struct ssh_bind_struct* ssh_bind; |