1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-05-04 10:44:46 +03:00

test: Fix text labels (copy & paste error)

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen 2018-07-02 14:34:16 +02:00 committed by Andreas Schneider
parent 12284b75fa
commit ed738bee34
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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");