test: Fix text labels (copy & paste error)
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
12284b75fa
Коммит
ed738bee34
@ -268,7 +268,7 @@ int ssh_options_set_algo(ssh_session session,
|
|||||||
* Deprecated
|
* Deprecated
|
||||||
*
|
*
|
||||||
* - SSH_OPTIONS_SSH2:
|
* - SSH_OPTIONS_SSH2:
|
||||||
Unused
|
* Unused
|
||||||
*
|
*
|
||||||
* - SSH_OPTIONS_LOG_VERBOSITY:
|
* - SSH_OPTIONS_LOG_VERBOSITY:
|
||||||
* Set the session logging verbosity (int).\n
|
* Set the session logging verbosity (int).\n
|
||||||
|
@ -100,7 +100,7 @@ static void torture_options_set_hostkey(void **state) {
|
|||||||
assert_string_equal(session->opts.wanted_methods[SSH_HOSTKEYS],
|
assert_string_equal(session->opts.wanted_methods[SSH_HOSTKEYS],
|
||||||
"ssh-ed25519,ecdsa-sha2-nistp384,ssh-rsa");
|
"ssh-ed25519,ecdsa-sha2-nistp384,ssh-rsa");
|
||||||
|
|
||||||
/* Test one unknown kex */
|
/* Test one unknown host key */
|
||||||
rc = ssh_options_set(session,
|
rc = ssh_options_set(session,
|
||||||
SSH_OPTIONS_HOSTKEYS,
|
SSH_OPTIONS_HOSTKEYS,
|
||||||
"ssh-ed25519,unknown-crap@example.com,ssh-rsa");
|
"ssh-ed25519,unknown-crap@example.com,ssh-rsa");
|
||||||
@ -108,7 +108,7 @@ static void torture_options_set_hostkey(void **state) {
|
|||||||
assert_string_equal(session->opts.wanted_methods[SSH_HOSTKEYS],
|
assert_string_equal(session->opts.wanted_methods[SSH_HOSTKEYS],
|
||||||
"ssh-ed25519,ssh-rsa");
|
"ssh-ed25519,ssh-rsa");
|
||||||
|
|
||||||
/* Test all unknown kexes */
|
/* Test all unknown host keys */
|
||||||
rc = ssh_options_set(session,
|
rc = ssh_options_set(session,
|
||||||
SSH_OPTIONS_HOSTKEYS,
|
SSH_OPTIONS_HOSTKEYS,
|
||||||
"unknown-crap@example.com,more-crap@example.com");
|
"unknown-crap@example.com,more-crap@example.com");
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user