mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 18:47:22 +09:00
Fix offset in obsolete crypto_sign_edwards25519sha512batch_open
This commit is contained in:
@@ -107,7 +107,7 @@ int crypto_sign_edwards25519sha512batch_open(unsigned char *m,
|
||||
return -1;
|
||||
}
|
||||
*mlen_p = mlen;
|
||||
memmove(m, sm + 64, mlen);
|
||||
memmove(m, sm + 32, mlen);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user