From 22954af49acb6810ce415aa2862df247ed23c877 Mon Sep 17 00:00:00 2001 From: Norbert Pocs Date: Wed, 5 Oct 2022 12:51:10 +0200 Subject: [PATCH] torture_auth.c: Reword whitelist to allowlist Removing harmful language Signed-off-by: Norbert Pocs Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- tests/client/torture_auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c index 9148bfbf..88680a2b 100644 --- a/tests/client/torture_auth.c +++ b/tests/client/torture_auth.c @@ -960,7 +960,7 @@ static void torture_auth_pubkey_types_ecdsa(void **state) rc = ssh_userauth_list(session, NULL); assert_true(rc & SSH_AUTH_METHOD_PUBLICKEY); - /* We have only the 256b key -- whitelisting only larger should fail */ + /* We have only the 256b key -- allowlisting only larger should fail */ rc = ssh_options_set(session, SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, "ecdsa-sha2-nistp384"); assert_ssh_return_code(session, rc); @@ -1108,7 +1108,7 @@ static void torture_auth_pubkey_types_ecdsa_nonblocking(void **state) rc = ssh_userauth_list(session, NULL); assert_true(rc & SSH_AUTH_METHOD_PUBLICKEY); - /* We have only the 256b key -- whitelisting only larger should fail */ + /* We have only the 256b key -- allowlisting only larger should fail */ rc = ssh_options_set(session, SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, "ecdsa-sha2-nistp384"); assert_ssh_return_code(session, rc);