summaryrefslogtreecommitdiff
path: root/regress/sys/crypto
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-03-19 20:10:26 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-03-19 20:10:26 +0000
commit2acffcdb81fec431fa5885d72a6fde8ebaa605ed (patch)
tree7077ed778aae76c4d59da6cdf9259817b3a59444 /regress/sys/crypto
parent9236d3bf948915f0bd49378f449758a1da361989 (diff)
typos
Diffstat (limited to 'regress/sys/crypto')
-rw-r--r--regress/sys/crypto/md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/crypto/md5.c b/regress/sys/crypto/md5.c
index 4c0647d780b..301d1b34eab 100644
--- a/regress/sys/crypto/md5.c
+++ b/regress/sys/crypto/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.1 2002/03/19 17:23:30 markus Exp $ */
+/* $OpenBSD: md5.c,v 1.2 2002/03/19 20:10:25 markus Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserverd.
@@ -104,7 +104,7 @@ getallowsoft(void)
mib[0] = CTL_KERN;
mib[1] = KERN_CRYPTODEVALLOWSOFT;
if (sysctl(mib, 2, &old, &olen, NULL, 0) < 0)
- err(1, "CRIOGET failed");
+ err(1, "sysctl failed");
return old;
}
@@ -121,7 +121,7 @@ setallowsoft(int new)
mib[1] = KERN_CRYPTODEVALLOWSOFT;
if (sysctl(mib, 2, &old, &olen, &new, nlen) < 0)
- err(1, "CRIOGET failed");
+ err(1, "sysctl failed");
}
/* test vectors from RFC 1321 */
@@ -158,7 +158,7 @@ main(int argc, char **argv)
continue;
}
if (strcmp(md, test[i].md) == 0) {
- printf("test ok '%s'\n", test[i].dat);
+ printf("md5 ok for '%s'\n", test[i].dat);
count++;
} else {
warnx("md5 failed for '%s': got '%s' expected '%s'",