summaryrefslogtreecommitdiff
path: root/lib/libc/hash
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-09-12 05:33:11 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-09-12 05:33:11 +0000
commita2d95e6557731aaf8e630c313c9d3a8f14a669d9 (patch)
tree9295e71c7f7c762790682b428ab7899c66f44f36 /lib/libc/hash
parent792713197edb53fd1a90c089e3c1f607340dc42f (diff)
the last example doesn't need a ctx variable;
from Loic Tortay via jmc@
Diffstat (limited to 'lib/libc/hash')
-rw-r--r--lib/libc/hash/sha2.35
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";