aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-03-02 17:23:36 +0100
committerEmilia Kasper <emilia@openssl.org>2016-03-02 17:23:36 +0100
commitfdfb8c848679d74fd492e3b306500f2da0570c17 (patch)
treec26435b57f83a1223ff83bbe92fb837328601dca /crypto/ec
parente9abfc3a00f5e6f51fc8150e53c65cec125b3082 (diff)
downloadopenssl-fdfb8c848679d74fd492e3b306500f2da0570c17.zip
openssl-fdfb8c848679d74fd492e3b306500f2da0570c17.tar.gz
openssl-fdfb8c848679d74fd492e3b306500f2da0570c17.tar.bz2
curve25519: add missing const-qualifier
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/curve25519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/curve25519.c b/crypto/ec/curve25519.c
index d51632c..8b5fadf 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);