diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 19:33:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 19:33:35 +0000 |
commit | d0b2b0161141176085099aa351a98003335cc237 (patch) | |
tree | ee6db27c9cf107c27da169d5257f6e6d81221e1c /lib/libc/hash | |
parent | 5a3744d2a7fcd5cde6ca2bec58ad376fd1114904 (diff) |
missing const; millert ok
Diffstat (limited to 'lib/libc/hash')
-rw-r--r-- | lib/libc/hash/rmd160.3 | 4 | ||||
-rw-r--r-- | lib/libc/hash/sha1.3 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3 index 0c790bfcdfd..65b84a1f61c 100644 --- a/lib/libc/hash/rmd160.3 +++ b/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.19 2003/06/17 21:56:23 millert Exp $ +.\" $OpenBSD: rmd160.3,v 1.20 2003/06/25 19:33:34 deraadt Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -45,7 +45,7 @@ .Ft "char *" .Fn RMD160File "char *filename" "char *buf" .Ft "char *" -.Fn RMD160Data "u_char *data" "size_t len" "char *buf" +.Fn RMD160Data "const u_char *data" "size_t len" "char *buf" .Sh DESCRIPTION The RMD160 functions implement the 160-bit RIPE message digest hash algorithm (RMD-160). diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3 index 322b4c67d9d..4d753ca7966 100644 --- a/lib/libc/hash/sha1.3 +++ b/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.25 2003/06/17 21:56:23 millert Exp $ +.\" $OpenBSD: sha1.3,v 1.26 2003/06/25 19:33:34 deraadt Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -45,7 +45,7 @@ .Ft "char *" .Fn SHA1File "char *filename" "char *buf" .Ft "char *" -.Fn SHA1Data "u_char *data" "u_int len" "char *buf" +.Fn SHA1Data "const u_char *data" "u_int len" "char *buf" .Sh DESCRIPTION The SHA1 functions implement the NIST Secure Hash Algorithm (SHA-1), FIPS PUB 180-1. |