diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-08-07 11:34:30 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-31 14:18:34 +0200 |
commit | 594c62d718ced4706a545c2ff21add5e3e1b652f (patch) | |
tree | 19be799cf20f64abebde570ac8e463b6851667ea /src | |
parent | 4169be45eb5262a1a4aba775740b65206906e772 (diff) | |
download | libssh-594c62d718ced4706a545c2ff21add5e3e1b652f.tar.gz libssh-594c62d718ced4706a545c2ff21add5e3e1b652f.tar.xz libssh-594c62d718ced4706a545c2ff21add5e3e1b652f.zip |
tests: PUBLICKEY_ACCEPTED_TYPES are effective
Verify the PUBLICKEY_ACCEPTED_TYPES option is handled correctly
and affects the signature algorithm selection based on the
extensions and can be used to limit list of offered mechanisms
to the server.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ int ssh_key_algorithm_allowed(ssh_session session, const char *type) * * @return A hash type to be used. */ -static enum ssh_digest_e ssh_key_type_to_hash(ssh_session session, +enum ssh_digest_e ssh_key_type_to_hash(ssh_session session, enum ssh_keytypes_e type) { switch (type) { |