summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/regress/prf
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-06-09 08:13:10 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-06-09 08:13:10 +0000
commit3ed8b10a8df515c0cb5a2a6a0962c67f1c697164 (patch)
tree16644eb4e4232e2d2cd65fc342c5dbaafdc4e136 /sbin/isakmpd/regress/prf
parentc021608bd50b74de1b8074e336f7adad03b1c7d8 (diff)
rm trailing whitespace
Diffstat (limited to 'sbin/isakmpd/regress/prf')
-rw-r--r--sbin/isakmpd/regress/prf/prftest.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/isakmpd/regress/prf/prftest.c b/sbin/isakmpd/regress/prf/prftest.c
index 0935e720018..0d95b790f50 100644
--- a/sbin/isakmpd/regress/prf/prftest.c
+++ b/sbin/isakmpd/regress/prf/prftest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prftest.c,v 1.5 2001/08/17 14:11:05 niklas Exp $ */
+/* $OpenBSD: prftest.c,v 1.6 2002/06/09 08:13:07 todd Exp $ */
/* $EOM: prftest.c,v 1.2 1998/10/07 16:40:50 niklas Exp $ */
/*
@@ -56,7 +56,7 @@ int
main (void)
{
char key[100];
-
+
memset (key, 11, 20);
test_prf ("PRF MD5 Test Case 1", HASH_MD5,
key, 16, "Hi There", 8, "9294727a3638bb1c13f48ef8158bfc9d");
@@ -65,17 +65,17 @@ main (void)
"what do ya want for nothing?", 28,
"750c783e6ab0b503eaa86e310a5db738");
test_prf ("PRF SHA1 Test Case 1", HASH_SHA1,
- key, 20, "Hi There", 8,
+ key, 20, "Hi There", 8,
"b617318655057264e28bc0b6fb378c8ef146be00");
test_prf ("PRF SHA1 Test Case 2", HASH_SHA1,
- "Jefe", 4, "what do ya want for nothing?", 28,
+ "Jefe", 4, "what do ya want for nothing?", 28,
"effcdf6ae5eb2fa2d27416d5f184df9c259a7c79");
test_prf ("PRF SHA1 Test Case 3", HASH_SHA1,
"Bloody long key, this one, eben longer than the blocksize "
"of ordinary keyed HMAC functions", 90,
- "what do ya want for nothing?", 28,
+ "what do ya want for nothing?", 28,
"52ca5fbcd7d4821bc6bf8b6e95e131109dff901b");
-
+
return 0;
}
@@ -91,7 +91,7 @@ test_prf (char *test, enum hashes hash, char *key, int klen,
printf ("Testing %s: ", test);
prf = prf_alloc (PRF_HMAC, hash, key, klen);
- if (!prf)
+ if (!prf)
{
printf("prf_alloc () failed\n");
return 0;
@@ -110,7 +110,7 @@ test_prf (char *test, enum hashes hash, char *key, int klen,
}
output[2 * i] = 0;
- if (strcmp (output, cmp) == 0)
+ if (strcmp (output, cmp) == 0)
{
printf ("OKAY\n");
return 1;