Browse Source

More typos.

OPENBSD_2_2
millert 27 years ago
parent
commit
c6a2075d6d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/hash/sha1.3

+ 3
- 3
src/lib/libc/hash/sha1.3 View File

@ -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> .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved. .\" All rights reserved.
@ -177,7 +177,7 @@ SHA1_CTX sha;
u_char output[41]; u_char output[41];
char *buf = "abc"; char *buf = "abc";
printf("0x%s", MD5Data(buf, strlen(buf), output));
printf("0x%s", SHA1Data(buf, strlen(buf), output));
.Ed .Ed
.Sh CAVEATS .Sh CAVEATS
This implementation of SHA-1 has not been validated by NIST 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 an array of five 32-bit integers) it will be necessary to
perform byte swapping on little endian machines such as the i386, alpha, perform byte swapping on little endian machines such as the i386, alpha,
and vax. and vax.
.Sh AUTHORS
.Sh AUTHOR
This implementation of SHA-1 was written by Steve Reid. This implementation of SHA-1 was written by Steve Reid.
.br .br
The The


Loading…
Cancel
Save