#
6f4f14eb |
| 31-Oct-2023 |
millert <millert@openbsd.org> |
cksum -c: support checking base64 digests in reverse mode too.
In reverse mode, the entry does not include the digest algorithm so the specified algorithm (or the default) is used when checking. OK
cksum -c: support checking base64 digests in reverse mode too.
In reverse mode, the entry does not include the digest algorithm so the specified algorithm (or the default) is used when checking. OK deraadt@
show more ...
|
#
4f836485 |
| 19-Oct-2020 |
millert <millert@openbsd.org> |
Add explicit casts to double to quiet a clang warning. OK deraddt@
|
#
d22d4275 |
| 03-Oct-2020 |
millert <millert@openbsd.org> |
Use ferror() to check for write error, not the fflush() return value. We can't rely on buffering to catch write errors in fflush(). Based on a diff from Demi M. Obenour, OK kn@
|
#
3c608727 |
| 18-May-2019 |
otto <otto@openbsd.org> |
freezero() is of no use here, the computed digest is not a secret. ok millert@
|
#
bf198cc6 |
| 25-Jan-2019 |
millert <millert@openbsd.org> |
I am retiring my old email address; replace it with my OpenBSD one.
|
#
d991f663 |
| 07-Sep-2018 |
cheloha <cheloha@openbsd.org> |
fgetln(3) -> getline(3); from Lauri Tirkkonen; ok millert@
|
#
348e3303 |
| 11-Sep-2017 |
millert <millert@openbsd.org> |
Use getrusage(2) for the built-in time trial instead of getttimeofday(2). This makes it possible to measure just the ellapsed user time, which is what we really care about when benchmarking an algori
Use getrusage(2) for the built-in time trial instead of getttimeofday(2). This makes it possible to measure just the ellapsed user time, which is what we really care about when benchmarking an algorithm. OK deraadt@
show more ...
|
#
fe102774 |
| 22-May-2017 |
deraadt <deraadt@openbsd.org> |
obvious use for freezero()
|
#
ced8ef3f |
| 26-Apr-2017 |
millert <millert@openbsd.org> |
In -C mode, process all checksums that match the specified file(s), not just the first one that matches. OK deraadt@
|
#
b7366579 |
| 16-Dec-2016 |
krw <krw@openbsd.org> |
Move declaration of an 'i' inside the scope of its use. Which in turn is inside an #ifdef. Thus making the code clearer by eliminating an #ifdef in the middle of the declarations.
Suggested by mille
Move declaration of an 'i' inside the scope of its use. Which in turn is inside an #ifdef. Thus making the code clearer by eliminating an #ifdef in the middle of the declarations.
Suggested by millert@
show more ...
|
#
1c6ffb17 |
| 16-Dec-2016 |
krw <krw@openbsd.org> |
Eliminate some gcc warnings about 'unused variables', mostly by adding appropriate #ifdef's around declarations.
ok millert@ (with a tweak I will commit separately)
|
#
be2ed47e |
| 03-Sep-2016 |
tedu <tedu@openbsd.org> |
add sha512/256 support to check that the libc code is right :)
|
#
544110f3 |
| 26-Aug-2016 |
guenther <guenther@openbsd.org> |
Pull in <sys/time.h> for gettimeofday()
|
#
abaa2058 |
| 29-Jul-2016 |
tedu <tedu@openbsd.org> |
all of the update functions take a size_t. correct type and casts. ok deraadt millert
|
#
ac3afab9 |
| 09-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Remove NULL-check before free(). ok tb@
|
#
18df9530 |
| 10-Oct-2015 |
deraadt <deraadt@openbsd.org> |
normalize the ordering of tame requests (particularily, "rpath wpath cpath", which i have put in that order). this is not important, but helps look for outliers which might be strange. it hints that
normalize the ordering of tame requests (particularily, "rpath wpath cpath", 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.
show more ...
|
#
0bd1216c |
| 09-Oct-2015 |
deraadt <deraadt@openbsd.org> |
Change all tame callers to namechange to pledge(2).
|
#
03d04e93 |
| 04-Oct-2015 |
deraadt <deraadt@openbsd.org> |
Repair tame() error check to be == -1
|
#
202bfa07 |
| 03-Oct-2015 |
deraadt <deraadt@openbsd.org> |
right at startup, this can tame "stdio cpath rpath wpath". after getopt -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
right at startup, this can tame "stdio cpath rpath wpath". after getopt -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.
show more ...
|
#
7ef3bb0b |
| 19-Jan-2015 |
deraadt <deraadt@openbsd.org> |
cleanup of the SMALL hiding from Mathias Svensson
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
show more ...
|
#
abcbcc4d |
| 13-Sep-2014 |
doug <doug@openbsd.org> |
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRC
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
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@
show more ...
|
#
08344973 |
| 19-Jun-2014 |
millert <millert@openbsd.org> |
Fix memory leak in digest_file() on ferror(). OK tedu@ lteo@
|
#
c1241082 |
| 26-Mar-2014 |
lteo <lteo@openbsd.org> |
Ignore the -b option if cksum is called as-is (e.g. "cksum -b /bsd") as documented on the cksum(1) man page.
"looks right" deraadt@ ok millert@
|
#
3b1e7d4d |
| 20-Mar-2014 |
tedu <tedu@openbsd.org> |
purge sum and sysvsum code. ok deraadt jmc lteo millert a few initial leftovers spotted by naddy
|