mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user