summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-25 19:33:34 +0000
committerderaadt <deraadt@openbsd.org>2003-06-25 19:33:34 +0000
commit501f89ea580ea59cf0e5738c0037f8f7905eeb68 (patch)
tree0a7b2150c550dc1760329951ff84686e801d51b3 /lib/libc
parentOops, put back iot/memt affectations in io_alloc/mem_alloc; spotted by todd@ (diff)
downloadwireguard-openbsd-501f89ea580ea59cf0e5738c0037f8f7905eeb68.tar.xz
wireguard-openbsd-501f89ea580ea59cf0e5738c0037f8f7905eeb68.zip
missing const; millert ok
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hash/rmd160.34
-rw-r--r--lib/libc/hash/sha1.34
-rw-r--r--lib/libc/md/mdX.34
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.