diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-14 17:33:16 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-14 17:33:16 +0000 |
commit | 89dd3c4531325d8baf902d050f1a819cf6d08eeb (patch) | |
tree | 08ddcfa294b6103c45746be0eb0c21f9cf10990e /bin/md5/rmd160.1 | |
parent | 7da3563eab6df3e10d5b2af8216fb7acfbd08f68 (diff) |
Add a 2-clause BSD license. These files are based on the md5.1
from FreeBSD which says it is public domain so there should be no
license conflict.
Diffstat (limited to 'bin/md5/rmd160.1')
-rw-r--r-- | bin/md5/rmd160.1 | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/bin/md5/rmd160.1 b/bin/md5/rmd160.1 index c53e4de9c1b..2ffba6bbdc3 100644 --- a/bin/md5/rmd160.1 +++ b/bin/md5/rmd160.1 @@ -1,4 +1,27 @@ -.\" $OpenBSD: rmd160.1,v 1.9 2001/09/06 14:46:47 mpech Exp $ +.\" $OpenBSD: rmd160.1,v 1.10 2003/02/14 17:33:14 millert Exp $ +.\" +.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +.\" THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .Dd June 4, 2001 .Dt RMD160 1 @@ -10,7 +33,9 @@ .Nm rmd160 .Oo .Fl p | Fl t | Fl x | -.Fl s Ar string | Ar file ... +.Fl s Ar string | +.Fl c Ar [ file ... ] | +.Ar file ... .Oc .Sh DESCRIPTION .Nm @@ -33,6 +58,16 @@ The options are as follows: .It Fl s Ar string Prints a checksum of the given .Ar string . +.It Fl c Ar [ file ... ] +Compares all checksums in the +.Ar file +with new computed checksums for the files mentioned in the +.Ar file . +Output consists of which digest was used, the file name, +and an OK or FAILED for the result of the comparison. This will +validate any of the supported checksums in the +.Ar file +including MD5 and SHA-1. If no file is given, stdin is used. .It Fl p Echos stdin to stdout and appends the .Em RMD-160 |