summaryrefslogtreecommitdiffstats
path: root/bin/md5
AgeCommit message (Expand)AuthorFilesLines
2020-10-19Add explicit casts to double to quiet a clang warning.millert1-2/+2
2020-10-03Use ferror() to check for write error, not the fflush() return value.millert1-2/+3
2019-05-18freezero() is of no use here, the computed digest is not a secret.otto1-2/+2
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert4-9/+9
2018-09-07fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@cheloha1-21/+20
2018-02-05CKSUM_DIGEST_STRING_LENGTH bounding didn't include full range of size_tderaadt1-2/+2
2017-09-11Use getrusage(2) for the built-in time trial instead of getttimeofday(2).millert1-5/+7
2017-05-22obvious use for freezero()deraadt1-3/+2
2017-04-26In -C mode, process all checksums that match the specified file(s),millert1-6/+22
2017-02-23SHA-1 collisions have now been found so update some man pages. As noted bydaniel1-9/+4
2016-12-16Move declaration of an 'i' inside the scope of its use. Which inkrw1-4/+3
2016-12-16Eliminate some gcc warnings about 'unused variables', mostly bykrw1-2/+5
2016-09-20sync the description of -q with that of cksum.1;jmc1-3/+5
2016-09-03add sha512/256 support to check that the libc code is right :)tedu2-4/+15
2016-08-26Pull in <sys/time.h> for gettimeofday()guenther1-1/+2
2016-07-29all of the update functions take a size_t. correct type and casts.tedu1-18/+17
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-4/+1
2015-12-09Remove NULL-check before free(). ok tb@mmcc1-3/+2
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",deraadt1-2/+2
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-5/+5
2015-10-04Repair tame() error check to be == -1deraadt1-2/+2
2015-10-03right at startup, this can tame "stdio cpath rpath wpath". after getoptderaadt1-1/+7
2015-09-23remove CAVEATS: the information therein is already (and probably more usefully)jmc1-7/+2
2015-01-19cleanup of the SMALL hiding from Mathias Svenssonderaadt1-2/+4
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-5/+5
2014-12-04obvious cases of missing NAME .Nm entriesschwarze1-3/+6
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug1-2/+2
2014-06-19Fix memory leak in digest_file() on ferror(). OK tedu@ lteo@millert1-1/+5
2014-03-26Ignore the -b option if cksum is called as-is (e.g. "cksum -b /bsd")lteo1-2/+2
2014-03-20missed a turdtedu1-9/+1
2014-03-20purge sum and sysvsum code. ok deraadt jmc lteo millerttedu5-269/+18
2014-03-20remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@naddy2-17/+5
2014-03-17use Ex;jmc1-8/+3
2014-03-07When using the -C option, exit with an exit status of 1 if any of thelteo3-20/+33
2014-01-30Add MISSING to the list of possible results of a checklist comparisonlteo1-3/+3
2014-01-24bump the year for ISO/IEC 8802:3 from 1989 to 1996;jmc1-3/+3
2014-01-20Do not use .Ar for fixed strings, it is intended for argument placeholders.schwarze1-38/+9
2014-01-20The strings "1" and "2" are not placeholders for arguments,schwarze1-5/+5
2014-01-15add -C to the man page, and adjust usage();jmc2-6/+18
2014-01-15Add support for a -C option. It works on a checklist like -c but onlylteo2-16/+51
2014-01-12Also move case 'c' into the #ifdef for a smaller binary. It will fall intoderaadt1-4/+4
2014-01-11use -DSHA2_ONLY to be more clear about what we are butcheringderaadt1-21/+21
2014-01-10depluralizederaadt1-2/+2
2014-01-10catch up to the fact that md5/sha* got merged, and document -c consistently;jmc3-40/+27
2014-01-10Add MISSING to the list of possible results of a checklist comparison.lteo1-2/+2
2014-01-10When using a checklist, print MISSING for non-existent files.lteo1-2/+4
2014-01-10tedu merged the hash manual pages back together. This goes even further,deraadt4-293/+53
2014-01-10the -c option is really a mode change, incompatible with other options.tedu4-17/+27
2014-01-08Fix wrapping of usage message for cksum.millert1-3/+3
2014-01-08err() not errx() when fopen fails.millert1-6/+6