X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/38c4a8da5955bf0572be423ce46866285b7bcf59..ddecd643be56256929ae1c45bebb8e39ae032225:/sshdh.c diff --git a/sshdh.c b/sshdh.c index 0beac6cf..845a72b6 100644 --- 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();