diff options
author | Alan Dunn <amdunn@gmail.com> | 2014-03-27 08:18:48 -0500 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-04-09 10:59:10 +0200 |
commit | 2f4589b76551b4c268596f521665b9395734f7b2 (patch) | |
tree | a1935ee520f7cbaca9b37468e4feaf446a2a72cf | |
parent | acb7161c813759ecb5fc8050fc112137e25fb870 (diff) | |
download | libssh-2f4589b76551b4c268596f521665b9395734f7b2.tar.gz libssh-2f4589b76551b4c268596f521665b9395734f7b2.tar.xz libssh-2f4589b76551b4c268596f521665b9395734f7b2.zip |
doc: Document new meaning of SSH_BIND_OPTIONS_HOSTKEY
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | src/options.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index 196015de..25442e3a 100644 --- a/src/options.c +++ b/src/options.c @@ -1309,8 +1309,12 @@ static int ssh_bind_set_key(ssh_bind sshbind, char **key_loc, * following: * * - SSH_BIND_OPTIONS_HOSTKEY: - * Set the server public key type: ssh-rsa or ssh-dss - * (const char *). + * Set the path to an ssh host key, regardless + * of type. Only one key from per key type + * (RSA, DSA, ECDSA) is allowed in an ssh_bind + * at a time, and later calls to this function + * with this option for the same key type will + * override prior calls (const char *). * * - SSH_BIND_OPTIONS_BINDADDR: * Set the IP address to bind (const char *). |