summaryrefslogtreecommitdiff
path: root/lib/libc/hash
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-07-12 11:02:29 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-07-12 11:02:29 +0000
commitde3799321615e133888e620bc5847046e00b610c (patch)
tree24a31aaf2177e9babeadcb3dc582d2d9eb7b6803 /lib/libc/hash
parentab95677452c91c9f6a44ad3eeb5818cec53b1943 (diff)
mention usage of SHA1Final with null pointer
Diffstat (limited to 'lib/libc/hash')
-rw-r--r--lib/libc/hash/sha1.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 5203f060289..e2768e795b5 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.2 1997/07/11 05:35:46 millert Exp $
+.\" $OpenBSD: sha1.3,v 1.3 1997/07/12 11:02:28 provos Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -84,6 +84,11 @@ is called when all data has been added via
and stores a message digest in the
.Ar digest
parameter.
+When a null pointer is passed to
+.Fn SHA1Final
+as first argument only the final padding will be applied and the
+current context can still be used with
+.Fn SHA1Update .
.Pp
The
.Fn SHA1Transform