X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/38c4a8da5955bf0572be423ce46866285b7bcf59..ddecd643be56256929ae1c45bebb8e39ae032225:/sshpubk.c diff --git a/sshpubk.c b/sshpubk.c index 30be7d3d..ed16534d 100644 --- a/sshpubk.c +++ b/sshpubk.c @@ -213,7 +213,7 @@ int saversakey(char *filename, struct RSAKey *key, char *passphrase) { * containing the bit count, then two bignums containing the * modulus and exponent respectively. */ - PUT_32BIT(p, ssh1_bignum_bitcount(key->modulus)); p += 4; + PUT_32BIT(p, bignum_bitcount(key->modulus)); p += 4; p += ssh1_write_bignum(p, key->modulus); p += ssh1_write_bignum(p, key->exponent);