1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët 2019-10-12 06:54:58 +00:00
parent ef89aea64e
commit 4542a04e1d

View File

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