diff options
author | 2020-07-09 19:17:19 +0000 | |
---|---|---|
committer | 2020-07-09 19:17:19 +0000 | |
commit | 04a2240bd8f465bcae6b595d912af3e2965856de (patch) | |
tree | 30a4f2d25aafd46f36f3a9415c90fdaf2b2b80d0 /sys/dev/i2c | |
parent | another excess file (diff) | |
download | wireguard-openbsd-04a2240bd8f465bcae6b595d912af3e2965856de.tar.xz wireguard-openbsd-04a2240bd8f465bcae6b595d912af3e2965856de.zip |
Fix a warning false positive from clang 10.
blf_enc() takes a number of 64-bit blocks to encrypt, but using
sizeof(uint64_t) in the calculation triggers a warning from clang
10 because the actual data type is uint32_t. Pass BCRYPT_WORDS / 2
for the number of blocks like libc bcrypt(3) does. OK kettenis@
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions