From: Emilia Kasper Date: Wed, 2 Mar 2016 16:23:36 +0000 (+0100) Subject: curve25519: add missing const-qualifier X-Git-Tag: OpenSSL_1_1_0-pre4~409 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=fdfb8c848679d74fd492e3b306500f2da0570c17 curve25519: add missing const-qualifier Reviewed-by: Kurt Roeckx --- diff --git a/crypto/ec/curve25519.c b/crypto/ec/curve25519.c index d51632c2c3..8b5fadf44b 100644 --- a/crypto/ec/curve25519.c +++ b/crypto/ec/curve25519.c @@ -1040,7 +1040,7 @@ static uint8_t equal(signed char b, signed char c) { return y; } -static void cmov(ge_precomp *t, ge_precomp *u, uint8_t b) { +static void cmov(ge_precomp *t, const ge_precomp *u, uint8_t b) { fe_cmov(t->yplusx, u->yplusx, b); fe_cmov(t->yminusx, u->yminusx, b); fe_cmov(t->xy2d, u->xy2d, b);