summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-08-02 18:35:48 +0000
committertb <tb@openbsd.org>2020-08-02 18:35:48 +0000
commit278b619969bbbf5e69ab768362f7f90cd3241bdb (patch)
tree8afb802cbebe9bb8758571d9c1a5169fe2cbfab3 /gnu/llvm/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
parentadditional files from libkern will be needed by clang10 (diff)
downloadwireguard-openbsd-278b619969bbbf5e69ab768362f7f90cd3241bdb.tar.xz
wireguard-openbsd-278b619969bbbf5e69ab768362f7f90cd3241bdb.zip
Squelch warning by using idiom from libc bcrypt(3)
Clang 10 warns about the expression sizeof(cdata) / sizeof(uint64_t) as cdata is an array of uint32_t and it expects that the intent of this is to compute the number of array elements. Use BCRYPT_WORDS / 2 instead. Same diff as millert's commit sys/lib/libsa/bcrypt_pbkdf.c -r1.2, which was ok kettenis. deraadt confirms that this satisfies clang 10.
Diffstat (limited to 'gnu/llvm/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py')
0 files changed, 0 insertions, 0 deletions