diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-06-22 01:57:31 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-06-22 01:57:31 +0000 |
commit | c76ce989a22a1e133c2c2d95f9c3bc9f9fdbf5bf (patch) | |
tree | e68bc682eba118cd709567b39e8bb89746a9b9fe /lib/libc/hash/sha2.3 | |
parent | 268ff50413bd6761d80e9ab0223ba4c35315b41b (diff) |
Make the `filename' parameter to HASHFile() and HASHFileChunk() const
ok pedro@, millert@
Diffstat (limited to 'lib/libc/hash/sha2.3')
-rw-r--r-- | lib/libc/hash/sha2.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/hash/sha2.3 b/lib/libc/hash/sha2.3 index 3cf2400da86..77c8abb5eb7 100644 --- a/lib/libc/hash/sha2.3 +++ b/lib/libc/hash/sha2.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha2.3,v 1.10 2004/05/16 18:29:09 otto Exp $ +.\" $OpenBSD: sha2.3,v 1.11 2004/06/22 01:57:29 jfb Exp $ .\" .\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -50,9 +50,9 @@ .Ft "char *" .Fn SHA256_End "SHA256_CTX *context" "char *buf" .Ft "char *" -.Fn SHA256_File "char *filename" "char *buf" +.Fn SHA256_File "const char *filename" "char *buf" .Ft "char *" -.Fn SHA256_FileChunk "char *filename" "char *buf" "off_t offset" "off_t length" +.Fn SHA256_FileChunk "const char *filename" "char *buf" "off_t offset" "off_t length" .Ft "char *" .Fn SHA256_Data "u_int8_t *data" "size_t len" "char *buf" .Ft void |