diff --git a/src/lib/libc/hash/sha1.3 b/src/lib/libc/hash/sha1.3 index a39f3991..02d498a7 100644 --- a/src/lib/libc/hash/sha1.3 +++ b/src/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 .\" 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