summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-08-24 20:10:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-08-24 20:10:34 +0000
commit1226f7235392c5d3783f7fcad964922caf72817a (patch)
treeeea178ea02bf58cd24fc0bf05fe67303013e1912 /lib
parent12590e9087dd3c2274acb85fb38b64a82b8ffc15 (diff)
Whoops, ripemd was broken, not ripemd-160.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/hash/mdX.37
-rw-r--r--lib/libc/hash/rmd160.39
2 files changed, 5 insertions, 11 deletions
diff --git a/lib/libc/hash/mdX.3 b/lib/libc/hash/mdX.3
index edf2275cc15..95948706b2b 100644
--- a/lib/libc/hash/mdX.3
+++ b/lib/libc/hash/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.8 2004/08/24 19:38:17 millert Exp $
+.\" $OpenBSD: mdX.3,v 1.9 2004/08/24 20:10:33 millert Exp $
.\"
.Dd April 29, 2004
.Dt MDX 3
@@ -210,7 +210,8 @@ helper functions are derived from code written by Poul-Henning Kamp.
.Sh BUGS
Collisions have been found for the full versions of both MD4 and MD5.
The use of
-.Xr sha1 3
+.Xr sha1 3 ,
+.Xr sha2 3 ,
or
-.Xr sha2 3
+.Xr rmd160 3
is recommended instead.
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3
index 72fe3b0a2bb..48f69632143 100644
--- a/lib/libc/hash/rmd160.3
+++ b/lib/libc/hash/rmd160.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmd160.3,v 1.27 2004/08/24 19:38:17 millert Exp $
+.\" $OpenBSD: rmd160.3,v 1.28 2004/08/24 20:10:33 millert Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -238,10 +238,3 @@ If a message digest is to be copied to a multi-byte type (ie:
an array of five 32-bit integers) it will be necessary to
perform byte swapping on little endian machines such as the i386, alpha,
and vax.
-.Sh BUGS
-Collisions have been found for the full version of RMD-160.
-The use of
-.Xr sha1 3
-or
-.Xr sha2 3
-is recommended instead.