X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/381b1876bb2fb230d7ada8d64479da7f207bb159..2d466ffd08675d26db45e524c2fe6a8cf4628e2b:/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;