X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d5859615f641e5bbd853cd42aafd4fa577da17eb..f70a606ea75cc1d03d335b3da1122f4cd7d0e381:/sshdss.c diff --git a/sshdss.c b/sshdss.c index 86a16176..2a5e2689 100644 --- a/sshdss.c +++ b/sshdss.c @@ -101,15 +101,15 @@ static char *dss_fmtkey(void) { nibbles = (3 + ssh1_bignum_bitcount(dss_p))/4; if (nibbles<1) nibbles=1; for (i=nibbles; i-- ;) p[pos++] = hex[(bignum_byte(dss_p, i/2) >> (4*(i%2))) & 0xF]; - pos += sprintf(p+pos, "0x"); + pos += sprintf(p+pos, ",0x"); nibbles = (3 + ssh1_bignum_bitcount(dss_q))/4; if (nibbles<1) nibbles=1; for (i=nibbles; i-- ;) p[pos++] = hex[(bignum_byte(dss_q, i/2) >> (4*(i%2))) & 0xF]; - pos += sprintf(p+pos, "0x"); + pos += sprintf(p+pos, ",0x"); nibbles = (3 + ssh1_bignum_bitcount(dss_g))/4; if (nibbles<1) nibbles=1; for (i=nibbles; i-- ;) p[pos++] = hex[(bignum_byte(dss_g, i/2) >> (4*(i%2))) & 0xF]; - pos += sprintf(p+pos, "0x"); + pos += sprintf(p+pos, ",0x"); nibbles = (3 + ssh1_bignum_bitcount(dss_y))/4; if (nibbles<1) nibbles=1; for (i=nibbles; i-- ;) p[pos++] = hex[(bignum_byte(dss_y, i/2) >> (4*(i%2))) & 0xF];