X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshdh.c;h=7a1772b88bcabaa678ee01d40ab24a73fab7d12c;hb=4abd468e14d110f2085f7a693687a9c19e1d47e1;hp=edd05b68b8c8701ba85f454d76e5e90e98b3be59;hpb=3730ada5ce457468441b32d7e84157e481b8ba75;p=PuTTY.git 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;