summaryrefslogtreecommitdiff
path: root/test/testpass.c
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2022-11-20 07:14:38 +0000
committerIvan Zhakov <ivan@apache.org>2022-11-20 07:14:38 +0000
commit4f9b76b6f2acc4030ce9ef164322514c5d0e761b (patch)
tree9b993b3753affcbf164056826f9d568d8760b3a1 /test/testpass.c
parent961caf5f46055483fa72ab02f5e8baa16c209e2f (diff)
downloadapr-4f9b76b6f2acc4030ce9ef164322514c5d0e761b.tar.gz
Remove trailing whitespaces in *.c.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpass.c')
-rw-r--r--test/testpass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testpass.c b/test/testpass.c
index e11fe81cb..069f5fbd7 100644
--- a/test/testpass.c
+++ b/test/testpass.c
@@ -48,7 +48,7 @@ static struct {
{
/*
passwords and hashes created with Apache's htpasswd utility like this:
-
+
htpasswd -c -b passwords pass1 pass1
htpasswd -b passwords pass2 pass2
htpasswd -b passwords pass3 pass3
@@ -183,7 +183,7 @@ static void test_bcryptpass(abts_case *tc, void *data)
const char *hash2 = "$2a$08$qipUJiI9fySUN38hcbz.lucXvAmtgowKOWYtB9y3CXyl6lTknruou";
const char *pass3 = "foobar";
- APR_ASSERT_SUCCESS(tc, "bcrypt encode password",
+ APR_ASSERT_SUCCESS(tc, "bcrypt encode password",
apr_bcrypt_encode(pass, 5, salt, sizeof(salt), hash,
sizeof(hash)));
@@ -200,7 +200,7 @@ abts_suite *testpass(abts_suite *suite)
{
suite = ADD_SUITE(suite);
-#if CRYPT_ALGO_SUPPORTED
+#if CRYPT_ALGO_SUPPORTED
abts_run_test(suite, test_crypt, NULL);
#if APR_HAS_THREADS
abts_run_test(suite, test_threadsafe, NULL);
@@ -212,6 +212,6 @@ abts_suite *testpass(abts_suite *suite)
#ifdef GLIBCSHA_ALGO_SUPPORTED
abts_run_test(suite, test_glibc_shapass, NULL);
#endif
-
+
return suite;
}