diff options
author | 2008-09-12 05:33:10 +0000 | |
---|---|---|
committer | 2008-09-12 05:33:10 +0000 | |
commit | 960569f35c609138facfb321c645b99861d225b1 (patch) | |
tree | 7722dc1d16355f4028337a9253f1f0025ac52cf4 | |
parent | as we did for reboot(8), do not attempt to list architectures (diff) | |
download | wireguard-openbsd-960569f35c609138facfb321c645b99861d225b1.tar.xz wireguard-openbsd-960569f35c609138facfb321c645b99861d225b1.zip |
the last example doesn't need a ctx variable;
from Loic Tortay via jmc@
-rw-r--r-- | lib/libc/hash/sha2.3 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/hash/sha2.3 b/lib/libc/hash/sha2.3 index edd28c2d458..0ce969a78e3 100644 --- a/lib/libc/hash/sha2.3 +++ b/lib/libc/hash/sha2.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha2.3,v 1.15 2008/09/06 12:00:19 djm Exp $ +.\" $OpenBSD: sha2.3,v 1.16 2008/09/12 05:33:10 djm Exp $ .\" .\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -20,7 +20,7 @@ .\" .\" See http://www.nist.gov/sha/ for the detailed standard .\" -.Dd $Mdocdate: September 6 2008 $ +.Dd $Mdocdate: September 12 2008 $ .Dt SHA2 3 .Os .Sh NAME @@ -243,7 +243,6 @@ putchar('\en'); .Pp Alternately, the helper functions could be used in the following way: .Bd -literal -offset indent -SHA2_CTX ctx; u_int8_t output[SHA256_DIGEST_STRING_LENGTH]; char *buf = "abc"; |