Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 11:04:32 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/md5 md5.c 
Message-ID:  <20010625180432.5DA903E28@bazooka.unixfreak.org>
In-Reply-To: <20010625115659.A22256@sunbay.com>; from ru@FreeBSD.org on "Mon, 25 Jun 2001 11:56:59 %2B0300"

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.org> writes:
> On Mon, Jun 25, 2001 at 01:52:57AM -0700, Ruslan Ermilov wrote:
> > ru          2001/06/25 01:52:57 PDT
> > 
> >   Modified files:
> >     sbin/md5             md5.c 
> >   Log:
> >   Only checksum stdin if nothing has been checksummed yet.
> >   
> >   PR:		bin/28386
> >   
> I've been looking at OpenBSD refinements to md5(1), and they
> seem to be doing pretty well.  I am going to merge these.

AFAIK, OpenBSD rewrote this because of the license.  If we're going to
make major modifications to this, we might as well rewrite it in terms
of openssl(1).  It gives slightly different output, e.g.:

dima@hornet% openssl md5 /HORNET
MD5(/HORNET)= 96fec985ef627b70295e31640483dd5f

but I think something to parse that into what we want would be better
than reinventing the wheel for the umpteenth time.

					Dima Dorfman
					dima@unixfreak.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010625180432.5DA903E28>