summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2014-05-16 16:18:33 +0000
committerespie <espie@openbsd.org>2014-05-16 16:18:33 +0000
commite96025a183d0d6ef0ecd68a317e35a8ae21bb8c9 (patch)
treeceda64b41849e2e760d1b7e9c56f8f8c6e43e11d /lib/libc
parentInclude openssl/evp.h for OPENSSL_add_all_algorithms_noconf(). (diff)
downloadwireguard-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