summaryrefslogtreecommitdiffstats
path: root/bin/md5/md5.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add explicit casts to double to quiet a clang warning.millert2020-10-191-2/+2
* Use ferror() to check for write error, not the fflush() return value.millert2020-10-031-2/+3
* freezero() is of no use here, the computed digest is not a secret.otto2019-05-181-2/+2
* I am retiring my old email address; replace it with my OpenBSD one.millert2019-01-251-2/+2
* fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@cheloha2018-09-071-21/+20
* Use getrusage(2) for the built-in time trial instead of getttimeofday(2).millert2017-09-111-5/+7
* obvious use for freezero()deraadt2017-05-221-3/+2
* In -C mode, process all checksums that match the specified file(s),millert2017-04-261-6/+22
* Move declaration of an 'i' inside the scope of its use. Which inkrw2016-12-161-4/+3
* Eliminate some gcc warnings about 'unused variables', mostly bykrw2016-12-161-2/+5
* add sha512/256 support to check that the libc code is right :)tedu2016-09-031-1/+12
* Pull in <sys/time.h> for gettimeofday()guenther2016-08-261-1/+2
* all of the update functions take a size_t. correct type and casts.tedu2016-07-291-18/+17
* Remove NULL-check before free(). ok tb@mmcc2015-12-091-3/+2
* normalize the ordering of tame requests (particularily, "rpath wpath cpath",deraadt2015-10-101-2/+2
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-5/+5
* Repair tame() error check to be == -1deraadt2015-10-041-2/+2
* right at startup, this can tame "stdio cpath rpath wpath". after getoptderaadt2015-10-031-1/+7
* cleanup of the SMALL hiding from Mathias Svenssonderaadt2015-01-191-2/+4
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-5/+5
* Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug2014-09-131-2/+2
* Fix memory leak in digest_file() on ferror(). OK tedu@ lteo@millert2014-06-191-1/+5
* Ignore the -b option if cksum is called as-is (e.g. "cksum -b /bsd")lteo2014-03-261-2/+2
* purge sum and sysvsum code. ok deraadt jmc lteo millerttedu2014-03-201-46/+5
* remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@naddy2014-03-201-13/+1
* When using the -C option, exit with an exit status of 1 if any of thelteo2014-03-071-14/+27
* add -C to the man page, and adjust usage();jmc2014-01-151-4/+4
* Add support for a -C option. It works on a checklist like -c but onlylteo2014-01-151-14/+35
* Also move case 'c' into the #ifdef for a smaller binary. It will fall intoderaadt2014-01-121-4/+4
* use -DSHA2_ONLY to be more clear about what we are butcheringderaadt2014-01-111-21/+21
* catch up to the fact that md5/sha* got merged, and document -c consistently;jmc2014-01-101-8/+7
* When using a checklist, print MISSING for non-existent files.lteo2014-01-101-2/+4
* the -c option is really a mode change, incompatible with other options.tedu2014-01-101-3/+5
* Fix wrapping of usage message for cksum.millert2014-01-081-3/+3
* err() not errx() when fopen fails.millert2014-01-081-6/+6
* Remove NHASHES, it is not needed and is incompatible with #ifdef SMALL.millert2014-01-081-37/+28
* Remove pmode, fix hfile open mode, check return value when writingmillert2014-01-081-38/+21
* Add -DSMALL support to kill a lot of the unncecessary hashes and checksumsderaadt2014-01-081-13/+54
* Add support for -h hashfile. This is very useful with with -p, in a pipeline,deraadt2014-01-081-12/+21
* install a link as sha512. simplify program internals; there are onlytedu2013-12-231-20/+3
* add unsigned char casts for specific calls to ctype.h macros.deraadt2013-11-211-3/+3
* SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in amillert2013-04-151-2/+12
* Return an exit code of 1 if the file cannot be opened (e.g. file doeslteo2013-03-301-7/+8
* replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)deraadt2012-12-041-2/+6
* fix memset sizeof, found by jsg. ok krwtedu2011-07-051-2/+3
* Use a 32KB data buffer instead of a 1KB buffer.millert2010-10-271-3/+3
* Use stdio when reading in the file to be checksummed. This can improvemillert2010-10-251-26/+25
* adapt to sha2(3) API changes; ok millert@djm2008-09-061-16/+14
* md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;sobrado2008-07-291-12/+56
* properly exit >0 when encountering bad md5 in cheklistchl2007-11-071-5/+5