diff --git a/ed25519/src/sc.c b/ed25519/src/sc.c index 24e3c86c7..d04c92d52 100644 --- a/ed25519/src/sc.c +++ b/ed25519/src/sc.c @@ -313,7 +313,7 @@ void sc_reduce(unsigned char *s) { s10 -= carry10 << 21; s[0] = (unsigned char) ((s0 >> 0) & 0xff); - s[1] = (unsigned char) ((s0 >> 8 & 0xff)); + s[1] = (unsigned char) ((s0 >> 8) & 0xff); s[2] = (unsigned char) (((s0 >> 16) | (s1 << 5)) & 0xff); s[3] = (unsigned char) ((s1 >> 3) & 0xff); s[4] = (unsigned char) ((s1 >> 11) & 0xff);