Pageant interface changes. You can now do `pageant -c command' to
[u/mdw/putty] / sshdh.c
diff --git a/sshdh.c b/sshdh.c
index 0beac6c..845a72b 100644 (file)
--- a/sshdh.c
+++ b/sshdh.c
@@ -102,7 +102,7 @@ Bignum dh_create_e(int nbits) {
         * with qmask.
         */
         if (x) freebn(x);
-       if (nbits == 0 || nbits > ssh1_bignum_bitcount(qmask)) {
+       if (nbits == 0 || nbits > bignum_bitcount(qmask)) {
            ssh1_write_bignum(buf, qmask);
            for (i = 2; i < nbytes; i++)
                buf[i] &= random_byte();