1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Avoid & and && mix without brackets

This commit is contained in:
Frank Denis 2020-05-13 23:08:19 +02:00
parent c2efce113d
commit 056a1aeef5

View File

@ -28,7 +28,7 @@ _crypto_sign_ed25519_verify_detached(const unsigned char *sig,
return -1;
}
#else
if (sig[63] & 240 &&
if ((sig[63] & 240) &&
sc25519_is_canonical(sig + 32) == 0) {
return -1;
}