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 | |
parent | 5a3744d2a7fcd5cde6ca2bec58ad376fd1114904 (diff) |
missing const; millert ok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/hash/rmd160.3 | 4 | ||||
-rw-r--r-- | lib/libc/hash/sha1.3 | 4 | ||||
-rw-r--r-- | lib/libc/md/mdX.3 | 4 |
3 files changed, 6 insertions, 6 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. diff --git a/lib/libc/md/mdX.3 b/lib/libc/md/mdX.3 index f705bc1be12..b21d643b0ba 100644 --- a/lib/libc/md/mdX.3 +++ b/lib/libc/md/mdX.3 @@ -6,7 +6,7 @@ .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" ---------------------------------------------------------------------------- .\" -.\" $OpenBSD: mdX.3,v 1.18 2003/05/30 21:01:02 jmc Exp $ +.\" $OpenBSD: mdX.3,v 1.19 2003/06/25 19:33:34 deraadt Exp $ .\" .Dd October 9, 1996 .Dt MDX 3 @@ -36,7 +36,7 @@ .Ft "char *" .Fn MDXFile "char *filename" "char *buf" .Ft "char *" -.Fn MDXData "unsigned char *data" "unsigned int len" "char *buf" +.Fn MDXData "const unsigned char *data" "unsigned int len" "char *buf" .Sh DESCRIPTION The MDX functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. |