From 43fa649024ebfa1fbe758b8b8c2472b413d0bab8 Mon Sep 17 00:00:00 2001 From: grunk <> Date: Tue, 3 Oct 2006 12:06:07 +0000 Subject: [PATCH] when using SHA1Data(), no CTX is needed, so zap that line in the example ok jmc@ --- src/lib/libc/hash/sha1.3 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/libc/hash/sha1.3 b/src/lib/libc/hash/sha1.3 index ea7d5479..550c003b 100644 --- a/src/lib/libc/hash/sha1.3 +++ b/src/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.34 2004/06/22 01:57:29 jfb Exp $ +.\" $OpenBSD: sha1.3,v 1.35 2006/10/03 12:06:07 grunk Exp $ .\" .\" Copyright (c) 1997, 2004 Todd C. Miller .\" @@ -188,7 +188,6 @@ putchar('\en'); .Pp Alternately, the helper functions could be used in the following way: .Bd -literal -offset indent -SHA1_CTX sha; u_int8_t output[SHA1_DIGEST_STRING_LENGTH]; char *buf = "abc";