X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/32874aeac8dacbca26663777b39a79efc5d8dc4b..887035a593c8c0a1af853657c80046e17dc5581a:/sshdh.c diff --git a/sshdh.c b/sshdh.c index edd05b68..7a1772b8 100644 --- a/sshdh.c +++ b/sshdh.c @@ -34,7 +34,6 @@ static unsigned char G[] = { 2 }; * Variables. */ static Bignum x, e, p, q, qmask, g; -static int need_to_free_pg; /* * Common DH initialisation. @@ -116,7 +115,7 @@ Bignum dh_create_e(int nbits) } else { int b, nb; x = bn_power_2(nbits); - nb = 0; + b = nb = 0; for (i = 0; i < nbits; i++) { if (nb == 0) { nb = 8;