diff options
author | atatat <atatat@pkgsrc.org> | 2003-06-15 00:42:29 +0000 |
---|---|---|
committer | atatat <atatat@pkgsrc.org> | 2003-06-15 00:42:29 +0000 |
commit | 99b76b3894e893343e33a1ddf03be9f23355f553 (patch) | |
tree | 92f70f81c0370a7cc5cc42de20dc3194f81aa2f9 /sysutils | |
parent | 1d0b613b94790f53c8a2bd6626790b327eb8d7d4 (diff) | |
download | pkgsrc-99b76b3894e893343e33a1ddf03be9f23355f553.tar.gz |
Reword the guts of digest so that the entry points into the various
hashes (fooInit(), fooUpdate(), fooFinal(), and fooFile()) are in the
array of structs that list the digests we support.
This makes the code somewhat simpler, easier to patch, and makes it
much easier to add new algorithms.
Note that since this *only* changes the inner workings of the digest
program, we don't need to touch the version number.
Approved (finally) by agc. :)
Diffstat (limited to 'sysutils')
0 files changed, 0 insertions, 0 deletions