diff options
author | 2014-05-16 16:18:33 +0000 | |
---|---|---|
committer | 2014-05-16 16:18:33 +0000 | |
commit | e96025a183d0d6ef0ecd68a317e35a8ae21bb8c9 (patch) | |
tree | ceda64b41849e2e760d1b7e9c56f8f8c6e43e11d /lib/libc | |
parent | Include openssl/evp.h for OPENSSL_add_all_algorithms_noconf(). (diff) | |
download | wireguard-openbsd-e96025a183d0d6ef0ecd68a317e35a8ae21bb8c9.tar.xz wireguard-openbsd-e96025a183d0d6ef0ecd68a317e35a8ae21bb8c9.zip |
rework -C (perfect candidate for using hash tables, really):
insert files we want to check into a hash,
parse SHA256 message on the fly, delete entries whose checksum match,
then display entries that failed.
This completely avoids allocating temporary storage for file names and checksums
and removes the quadratic match (argv[i] vs line[n]).
okay tedu@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions