From 755bcd79c182531e5627488c4252223a434cbcab Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sun, 16 Nov 2014 19:57:24 +0000 Subject: [PATCH] add some missing .An macros and remove some obsolete .Tn --- src/lib/libc/hash/md5.3 | 17 +++++++++-------- src/lib/libc/hash/rmd160.3 | 14 ++++++++------ 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/lib/libc/hash/md5.3 b/src/lib/libc/hash/md5.3 index b0f9672e..5ec7c3ef 100644 --- a/src/lib/libc/hash/md5.3 +++ b/src/lib/libc/hash/md5.3 @@ -16,9 +16,9 @@ .\" If we meet some day, and you think this stuff is worth it, you .\" can buy me a beer in return. Poul-Henning Kamp .\" -.\" $OpenBSD: md5.3,v 1.3 2014/11/15 14:41:02 bentley Exp $ +.\" $OpenBSD: md5.3,v 1.4 2014/11/16 19:57:24 schwarze Exp $ .\" -.Dd $Mdocdate: November 15 2014 $ +.Dd $Mdocdate: November 16 2014 $ .Dt MD5 3 .Os .Sh NAME @@ -112,8 +112,7 @@ is a wrapper for .Fn MD5Final which converts the return value to an MD5_DIGEST_STRING_LENGTH-character (including the terminating '\e0') -.Tn ASCII -string which represents the 128 bits in hexadecimal. +ASCII string which represents the 128 bits in hexadecimal. .Pp .Fn MD5File calculates the digest of a file, and uses @@ -195,10 +194,11 @@ characters of buffer space. These functions appeared in .Ox 2.0 . .Sh AUTHORS +.An -nosplit The original MD5 routines were developed by -.Tn RSA -Data Security, Inc., and published in the above references. -This code is derived from a public domain implementation written by Colin Plumb. +RSA Data Security, Inc., and published in the above references. +This code is derived from a public domain implementation written by +.An Colin Plumb . .Pp The .Fn MD5End , @@ -206,7 +206,8 @@ The .Fn MD5FileChunk , and .Fn MD5Data -helper functions are derived from code written by Poul-Henning Kamp. +helper functions are derived from code written by +.An Poul-Henning Kamp . .Sh BUGS Collisions have been found for the full version of MD5. The use of diff --git a/src/lib/libc/hash/rmd160.3 b/src/lib/libc/hash/rmd160.3 index 10134d09..4536e38b 100644 --- a/src/lib/libc/hash/rmd160.3 +++ b/src/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.33 2014/11/15 14:41:02 bentley Exp $ +.\" $OpenBSD: rmd160.3,v 1.34 2014/11/16 19:57:24 schwarze Exp $ .\" .\" Copyright (c) 1997, 2004 Todd C. Miller .\" @@ -17,7 +17,7 @@ .\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html .\" for detailed information about RIPEMD-160. .\" -.Dd $Mdocdate: November 15 2014 $ +.Dd $Mdocdate: November 16 2014 $ .Dt RMD160 3 .Os .Sh NAME @@ -116,8 +116,7 @@ The .Fn RMD160End function is a front end for .Fn RMD160Final -which converts the digest into an -.Tn ASCII +which converts the digest into an ASCII representation of the 160 bit digest in hexadecimal. .Pp The @@ -223,7 +222,9 @@ printf("0x%s\en", RMD160Data(buf, strlen(buf), output)); The RMD-160 functions appeared in .Ox 2.1 . .Sh AUTHORS -This implementation of RMD-160 was written by Markus Friedl. +.An -nosplit +This implementation of RMD-160 was written by +.An Markus Friedl . .Pp The .Fn RMD160End , @@ -231,7 +232,8 @@ The .Fn RMD160FileChunk , and .Fn RMD160Data -helper functions are derived from code written by Poul-Henning Kamp. +helper functions are derived from code written by +.An Poul-Henning Kamp . .Sh CAVEATS 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