diff --git a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c index a33a4187..64d15819 100644 --- a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +++ b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c @@ -1372,7 +1372,7 @@ slide(signed char *r, const unsigned char *a) ribs = r[i + b] << b; cmp = r[i] + ribs; if (cmp <= 15) { - r[i] = cmp; + r[i] = cmp; r[i + b] = 0; } else { cmp = r[i] - ribs;