Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-19 | Add explicit casts to double to quiet a clang warning. | Todd C. Miller | |
OK deraddt@ | |||
2020-10-03 | Use ferror() to check for write error, not the fflush() return value. | Todd C. Miller | |
We can't rely on buffering to catch write errors in fflush(). Based on a diff from Demi M. Obenour, OK kn@ | |||
2019-05-18 | freezero() is of no use here, the computed digest is not a secret. | Otto Moerbeek | |
ok millert@ | |||
2019-01-25 | I am retiring my old email address; replace it with my OpenBSD one. | Todd C. Miller | |
2018-09-07 | fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@ | cheloha | |
2018-02-05 | CKSUM_DIGEST_STRING_LENGTH bounding didn't include full range of size_t | Theo de Raadt | |
and NUL ok millert krw tb | |||
2017-09-11 | Use getrusage(2) for the built-in time trial instead of getttimeofday(2). | Todd C. Miller | |
This makes it possible to measure just the ellapsed user time, which is what we really care about when benchmarking an algorithm. OK deraadt@ | |||
2017-05-22 | obvious use for freezero() | Theo de Raadt | |
2017-04-26 | In -C mode, process all checksums that match the specified file(s), | Todd C. Miller | |
not just the first one that matches. OK deraadt@ | |||
2017-02-23 | SHA-1 collisions have now been found so update some man pages. As noted by | Daniel Dickman | |
minek van on misc@. Thanks. ok tb@, tj@ (and jmc@ is ok with the diff but can't ok the technical content). | |||
2016-12-16 | Move declaration of an 'i' inside the scope of its use. Which in | Kenneth R Westerback | |
turn is inside an #ifdef. Thus making the code clearer by eliminating an #ifdef in the middle of the declarations. Suggested by millert@ | |||
2016-12-16 | Eliminate some gcc warnings about 'unused variables', mostly by | Kenneth R Westerback | |
adding appropriate #ifdef's around declarations. ok millert@ (with a tweak I will commit separately) | |||
2016-09-20 | sync the description of -q with that of cksum.1; | Jason McIntyre | |
from bytevolcano ok millert | |||
2016-09-03 | add sha512/256 support to check that the libc code is right :) | Ted Unangst | |
2016-08-26 | Pull in <sys/time.h> for gettimeofday() | Philip Guenther | |
2016-07-29 | all of the update functions take a size_t. correct type and casts. | Ted Unangst | |
ok deraadt millert | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2015-12-09 | Remove NULL-check before free(). ok tb@ | mmcc | |
2015-10-10 | normalize the ordering of tame requests (particularily, "rpath wpath cpath", | Theo de Raadt | |
which i have put in that order). this is not important, but helps look for outliers which might be strange. it hints that "ioctl" should be reassessed in a few places, to see if "tty" is better; that "unix" may be used in some places where "route" could now work. | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-04 | Repair tame() error check to be == -1 | Theo de Raadt | |
2015-10-03 | right at startup, this can tame "stdio cpath rpath wpath". after getopt | Theo de Raadt | |
-h has handled write/creating a file, we can drop to tame "stdio rpath" since md5 will only read files after that. i believe i involved lteo for this. | |||
2015-09-23 | remove CAVEATS: the information therein is already (and probably more usefully) | Jason McIntyre | |
included at the start of this page; ok tedu | |||
2015-01-19 | cleanup of the SMALL hiding from Mathias Svensson | Theo de Raadt | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-12-04 | obvious cases of missing NAME .Nm entries | Ingo Schwarze | |
2014-09-13 | Replace all queue *_END macro calls except CIRCLEQ_END with NULL. | Doug Hogan | |
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@ | |||
2014-06-19 | Fix memory leak in digest_file() on ferror(). OK tedu@ lteo@ | Todd C. Miller | |
2014-03-26 | Ignore the -b option if cksum is called as-is (e.g. "cksum -b /bsd") | Lawrence Teo | |
as documented on the cksum(1) man page. "looks right" deraadt@ ok millert@ | |||
2014-03-20 | missed a turd | Ted Unangst | |
2014-03-20 | purge sum and sysvsum code. ok deraadt jmc lteo millert | Ted Unangst | |
a few initial leftovers spotted by naddy | |||
2014-03-20 | remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@ | Christian Weisgerber | |
"A collision attack published in 2007 can find collisions for full MD4 in less than two hash operations." | |||
2014-03-17 | use Ex; | Jason McIntyre | |
2014-03-07 | When using the -C option, exit with an exit status of 1 if any of the | Lawrence Teo | |
files specified on the command line do not exist in the checklist. ok deraadt@ tedu@ | |||
2014-01-30 | Add MISSING to the list of possible results of a checklist comparison | Lawrence Teo | |
(md5.1 already has this). | |||
2014-01-24 | bump the year for ISO/IEC 8802:3 from 1989 to 1996; | Jason McIntyre | |
ingo recommends not defining a new St macro for every revision here ok sobrado schwarze | |||
2014-01-20 | Do not use .Ar for fixed strings, it is intended for argument placeholders. | Ingo Schwarze | |
We could switch to .Cm, but jmc@ thinks that just removing the markup from the algorith names is better in this case. Otherwise, the total amount of markup could be considered excessive. | |||
2014-01-20 | The strings "1" and "2" are not placeholders for arguments, | Ingo Schwarze | |
but have to be given verbatim on the command line, so use .Cm. Found while testing mandocdb(8), ok jmc@. | |||
2014-01-15 | add -C to the man page, and adjust usage(); | Jason McIntyre | |
ok lteo | |||
2014-01-15 | Add support for a -C option. It works on a checklist like -c but only | Lawrence Teo | |
does the checksum comparison for selected files that are specified on the command line. idea discussed with deraadt@ and tedu@ manpage feedback jmc@ feedback/OK deraadt@ millert@ | |||
2014-01-12 | Also move case 'c' into the #ifdef for a smaller binary. It will fall into | Theo de Raadt | |
default, giving a nice failure. I have not removed -c from the usage() or getopt() because it is too much butchering... | |||
2014-01-11 | use -DSHA2_ONLY to be more clear about what we are butchering | Theo de Raadt | |
idea from tedu | |||
2014-01-10 | depluralize | Theo de Raadt | |
ok jmc | |||
2014-01-10 | catch up to the fact that md5/sha* got merged, and document -c consistently; | Jason McIntyre | |
some style and cleanup tweaks while here ok deraadt | |||
2014-01-10 | Add MISSING to the list of possible results of a checklist comparison. | Lawrence Teo | |
2014-01-10 | When using a checklist, print MISSING for non-existent files. | Lawrence Teo | |
Based on an earlier diff by tedu@ Requested by deraadt@ OK deraadt@ | |||
2014-01-10 | tedu merged the hash manual pages back together. This goes even further, | Theo de Raadt | |
repairing the documentation for the -c option. | |||
2014-01-10 | the -c option is really a mode change, incompatible with other options. | Ted Unangst | |
(there are some others too, but -c is particularly misleading.) split it out in synopsis and usage. ok deraadt | |||
2014-01-08 | Fix wrapping of usage message for cksum. | Todd C. Miller | |
2014-01-08 | err() not errx() when fopen fails. | Todd C. Miller | |