diff options
author | 2018-04-29 17:26:31 +0000 | |
---|---|---|
committer | 2018-04-29 17:26:31 +0000 | |
commit | 8e8a4c443fae4fe0a8296f8e483287f0e0ebc81c (patch) | |
tree | 1c3128d486ed8b269937bd7d9de1cbe793daa3c7 /lib/libc/string/strstr.c | |
parent | In view of the recent BN_FLG_CONSTTIME vulnerabilities in OpenSSL, (diff) | |
download | wireguard-openbsd-8e8a4c443fae4fe0a8296f8e483287f0e0ebc81c.tar.xz wireguard-openbsd-8e8a4c443fae4fe0a8296f8e483287f0e0ebc81c.zip |
In hash{free,init}(), there's no need to calculate the size of the hash table if
the given number of elements already is a power of 2.
ok visa@, "seems like a good plan" deraadt@
Diffstat (limited to 'lib/libc/string/strstr.c')
0 files changed, 0 insertions, 0 deletions