CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2020/07/09 13:17:19
Modified files: sys/lib/libsa : bcrypt_pbkdf.c Log message: 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@