]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Extra brackets around sizeof() in bcrypt.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 19 Jun 2020 09:10:47 +0000 (19:10 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 19 Jun 2020 09:10:47 +0000 (19:10 +1000)
commit1babb8bb14c423011ca34c2f563bb1c51c8fbf1d
tree18b4e48538e8114e00a52925ac8d3d280766acf3
parent9e065729592633290e5ddb6852792913b2286545
Extra brackets around sizeof() in bcrypt.

Prevents following warning from clang 10:
bcrypt_pbkdf.c:94:40: error: expression does not compute the number of
  elements in this array; element type is ´uint32_tÂ[...]
  place parentheses around the ´sizeof(uint64_t)´ expression to
  silence this warning
openbsd-compat/bcrypt_pbkdf.c