version 1.272, 2015/02/25 19:54:02 |
version 1.273, 2015/05/04 06:10:48 |
|
|
/* Check that the key is accepted in HostkeyAlgorithms */ |
/* Check that the key is accepted in HostkeyAlgorithms */ |
if (options.hostkeyalgorithms != NULL && |
if (options.hostkeyalgorithms != NULL && |
match_pattern_list(sshkey_ssh_name(key), |
match_pattern_list(sshkey_ssh_name(key), |
options.hostkeyalgorithms, |
options.hostkeyalgorithms, 0) != 1) { |
strlen(options.hostkeyalgorithms), 0) != 1) { |
|
debug3("%s: %s key not permitted by HostkeyAlgorithms", |
debug3("%s: %s key not permitted by HostkeyAlgorithms", |
__func__, sshkey_ssh_name(key)); |
__func__, sshkey_ssh_name(key)); |
continue; |
continue; |