se
a442ada70b
Set exit code to 1 in case at least one of the input files
...
could not be opened.
2003-11-02 23:12:08 +00:00
obrien
43cf45d89f
Use __FBSDID() to quiet GCC 3.3 warnings.
2003-05-03 18:41:59 +00:00
silby
ba78563270
Improvements to md5.c so that it uses getrusage to time
...
benchmarks, and prints out results in float format.
2003-02-14 04:48:06 +00:00
silby
acd81517b7
Change the -x option so that it does an actual REAL test of
...
the correctness of this program. Previously, it printed out
the MD5 values of some test strings, but did not tell you
if they were correct or not!
2003-01-26 08:23:37 +00:00
phk
526f9fb188
Fix
...
md5 -q -s foo
to not expect input on stdin after hashing the string.
MFC after: 1 week
2001-12-19 21:19:43 +00:00
dillon
508583a118
Add missing cast for improper time_t use in computation.
2001-10-28 00:01:58 +00:00
des
74a081ad78
Fix include ordering breakage from rev. 1.23.
...
Please-read-style(9): dd
2001-06-29 06:21:57 +00:00
ru
ee5e80b4b4
Only checksum stdin if nothing has been checksummed yet.
...
PR: bin/28386
2001-06-25 08:52:57 +00:00
dd
f5d286af56
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
ru
e22d479652
Fix argument processing.
...
Make this compile with WARNS=2.
PR: bin/27524
MFC after: 3 days
2001-05-22 10:33:43 +00:00
obrien
b8fa6b5f04
Update usage().
...
Submitted by: nectar
2000-11-08 20:41:35 +00:00
obrien
ae4c524a4b
Add -q quite mode.
1999-12-04 01:29:43 +00:00
obrien
91bd9562c3
Make `-r -s' also match the BSDI output.
1999-11-11 11:59:03 +00:00
obrien
2422d6dd38
Change the "-r" output format to match BSDI's default output format.
1999-11-09 17:28:47 +00:00
obrien
7ad711402e
Add a new "-r" (right) option that reverses the order a filename and the
...
hash is printed. This aids visual diffs.
1999-11-07 04:14:55 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
billf
f70e6b3a4d
Since we are using strlen() let's assign it to the correct type and
...
include the proper header.
1999-07-21 00:51:14 +00:00
kris
04a3df2c67
Fixes for -t option:
...
* Don't buffer "Digesting..." output - flush it immediately.
* Increase the number of repetitions by a factor of 100, and the block size by
a factor of 10 so as to give meaningful results on modern machines (108
seconds on my P120, and ~26 seconds on a P-II 350).
PR: bin/10604
Submitted by: Stanislav Shalunov <shalunov@lynxhub.lz.att.com>
1999-05-01 14:54:21 +00:00
charnier
1a59aba7b6
Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3).
1998-07-06 07:04:50 +00:00
steve
a3386636c9
Fix a few style nits from previous commit.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-12-29 14:05:49 +00:00
steve
85b6210946
Get md5(1) to use getopt(3). Also some minor -Wall cleaning
...
while here.
PR: 5387
Submitted by: Matthew Hunt <mph@pobox.com>
1997-12-29 03:40:37 +00:00
peter
4997d39dce
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
phk
4d83fddcc2
Trivial fix for braino.
...
Reviewed by: phk
Submitted by: Martin Ibert <mib@ppe.bb-data.de>
1997-01-16 10:12:30 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
bde
7e35783fbe
Moved #include of <sys/types.h> earlier so that this compiles when
...
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
1996-10-25 06:48:29 +00:00
phk
1f74d42098
Fix to match new API. Fixes memory leak, faster.
1995-07-12 09:14:46 +00:00
rgrimes
0d84aee7e3
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
phk
892a7ad162
oops.
1995-02-26 02:00:35 +00:00
phk
db0922b876
Add a '-p' option to md5. This will save some time in generation of the
...
ctm deltas.
1995-02-26 01:55:31 +00:00
phk
fa66c973d8
Clean this file up so it is readable...
1995-02-20 00:48:50 +00:00
pst
51b49316ee
Incorproate version of md5 placed into public domain by RSA.
1994-10-29 23:58:02 +00:00