summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strstr.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2018-04-29 17:26:31 +0000
committeranton <anton@openbsd.org>2018-04-29 17:26:31 +0000
commit8e8a4c443fae4fe0a8296f8e483287f0e0ebc81c (patch)
tree1c3128d486ed8b269937bd7d9de1cbe793daa3c7 /lib/libc/string/strstr.c
parentIn view of the recent BN_FLG_CONSTTIME vulnerabilities in OpenSSL, (diff)
downloadwireguard-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