aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2019-09-13 16:59:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-01-23 09:47:57 +0100
commit93bf0ab6a358aedc551edde70d0ebd06843951a1 (patch)
treefb167ddc99327276b44274bce315e3fd33992c8a
parent251f60c031b2d46585ace7cb49fc551591f23261 (diff)
downloadlibssh-93bf0ab6a358aedc551edde70d0ebd06843951a1.tar.gz
libssh-93bf0ab6a358aedc551edde70d0ebd06843951a1.tar.xz
libssh-93bf0ab6a358aedc551edde70d0ebd06843951a1.zip
tests: fix typos
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 23c529c888fdb6a96ca45a5e1afd091afb4f36f0)
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/client/torture_rekey.c2
-rw-r--r--tests/server/torture_server.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a338af44..294038ef 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -119,7 +119,7 @@ if (CLIENT_TESTING OR SERVER_TESTING)
file(COPY keys/id_ed25519 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
file(COPY keys/id_ed25519.pub DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
- # Allow to auth with bob his public keys on alice account
+ # Allow to auth with bob's public keys on alice account
configure_file(keys/id_rsa.pub ${CMAKE_CURRENT_BINARY_DIR}/home/alice/.ssh/authorized_keys @ONLY)
# append ECDSA public key
file(READ keys/id_ecdsa.pub CONTENTS)
diff --git a/tests/client/torture_rekey.c b/tests/client/torture_rekey.c
index b8e93768..7c9d8127 100644
--- a/tests/client/torture_rekey.c
+++ b/tests/client/torture_rekey.c
@@ -72,7 +72,7 @@ static int session_setup(void **state)
ssh_options_set(s->ssh.session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
ssh_options_set(s->ssh.session, SSH_OPTIONS_HOST, TORTURE_SSH_SERVER);
- /* Authenticate as alice with bob his pubkey */
+ /* Authenticate as alice with bob's pubkey */
rc = ssh_options_set(s->ssh.session, SSH_OPTIONS_USER, TORTURE_SSH_USER_ALICE);
assert_int_equal(rc, SSH_OK);
diff --git a/tests/server/torture_server.c b/tests/server/torture_server.c
index 3a23a3c4..518fc972 100644
--- a/tests/server/torture_server.c
+++ b/tests/server/torture_server.c
@@ -404,7 +404,7 @@ static void torture_server_auth_pubkey(void **state)
session = s->ssh.session;
assert_non_null(session);
- /* Authenticate as alice with bob his pubkey */
+ /* Authenticate as alice with bob's pubkey */
rc = ssh_options_set(session, SSH_OPTIONS_USER, TORTURE_SSH_USER_ALICE);
assert_int_equal(rc, SSH_OK);