diff options
| author | Alan Dunn <amdunn@gmail.com> | 2014-03-27 08:18:47 -0500 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-04-09 10:57:16 +0200 |
| commit | acb7161c813759ecb5fc8050fc112137e25fb870 (patch) | |
| tree | bca72b200d189d9a5bcc083b2f98e153d29289b0 /include | |
| parent | 437a39c7988ae157e2171f57d8c0cfdcc99584f6 (diff) | |
| download | libssh-acb7161c813759ecb5fc8050fc112137e25fb870.tar.gz libssh-acb7161c813759ecb5fc8050fc112137e25fb870.tar.xz libssh-acb7161c813759ecb5fc8050fc112137e25fb870.zip | |
options: Repurpose SSH_BIND_OPTIONS_HOSTKEY to load host keys
SSH_BIND_OPTIONS_HOSTKEY will now load host keys of any supported type
rather than set the algorithms that the server permits (which seems
like an unhelpful option anyway; it seems you can always control this
by just loading the right keys).
This option has slightly different semantics than the
SSH_BIND_OPTIONS_<x>KEY options because it requires the key file to
exist immediately rather than on ssh_bind_listen or
ssh_bind_accept_fd. The semantics of this option makes more sense to
me.
We also eliminate ssh_bind_options_set_algo, since it is no longer
used.
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
