summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-09 03:55:33 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-09 03:55:33 +0100
commitc6f33a891f64167a3905a71477fd65cb90237298 (patch)
treea43263e69ea2d738b79ff4943af17bbe9ad75484 /src
parentd072ec9de1830616a045ad679efbd5c17fe899c7 (diff)
downloadlibuecc-c6f33a891f64167a3905a71477fd65cb90237298.tar
libuecc-c6f33a891f64167a3905a71477fd65cb90237298.zip
Fix ecc_25519_gf_is_zero
Diffstat (limited to 'src')
-rw-r--r--src/ec25519_gf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec25519_gf.c b/src/ec25519_gf.c
index f4d81ad..bb5715f 100644
--- a/src/ec25519_gf.c
+++ b/src/ec25519_gf.c
@@ -61,7 +61,7 @@ static void select(unsigned char out[32], const unsigned char r[32], const unsig
int ecc_25519_gf_is_zero(const ecc_int_256 *in) {
int i;
ecc_int_256 r;
- unsigned int bits;
+ unsigned int bits = 0;
ecc_25519_gf_reduce(&r, in);