mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Avoid & and && mix without brackets
This commit is contained in:
parent
c2efce113d
commit
056a1aeef5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user