summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-17 06:01:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-17 06:01:10 +0000
commit5672694ba96b4ba6bafe146cdaa01946fb18f5ff (patch)
tree7b9195df597656bb3e5f515b33a857b1b2a42c90
parent020283322228f7ddc2a8c0d352497f0aeb153df1 (diff)
More typos.
-rw-r--r--lib/libc/hash/sha1.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index a39f399147a..02d498a7b53 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.6 1997/07/17 05:33:16 millert Exp $
+.\" $OpenBSD: sha1.3,v 1.7 1997/07/17 06:01:09 millert Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -177,7 +177,7 @@ SHA1_CTX sha;
u_char output[41];
char *buf = "abc";
-printf("0x%s", MD5Data(buf, strlen(buf), output));
+printf("0x%s", SHA1Data(buf, strlen(buf), output));
.Ed
.Sh CAVEATS
This implementation of SHA-1 has not been validated by NIST
@@ -187,7 +187,7 @@ If a message digest is to be copied to a multi-byte type (ie:
an array of five 32-bit integers) it will be necessary to
perform byte swapping on little endian machines such as the i386, alpha,
and vax.
-.Sh AUTHORS
+.Sh AUTHOR
This implementation of SHA-1 was written by Steve Reid.
.br
The