projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9abfc3
)
curve25519: add missing const-qualifier
author
Emilia Kasper
<emilia@openssl.org>
Wed, 2 Mar 2016 16:23:36 +0000
(17:23 +0100)
committer
Emilia Kasper
<emilia@openssl.org>
Wed, 2 Mar 2016 16:23:36 +0000
(17:23 +0100)
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
crypto/ec/curve25519.c
patch
|
blob
|
history
diff --git
a/crypto/ec/curve25519.c
b/crypto/ec/curve25519.c
index d51632c2c33bf99d8dd0221860b3728a5cc40269..8b5fadf44b128553ece5f18dfc1ebbbcf6706978 100644
(file)
--- 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);