Update from stable branch.

This commit is contained in:
Dr. Stephen Henson 2009-03-12 17:10:26 +00:00
parent 33ab2e31f3
commit 617298dca3

View File

@ -2471,7 +2471,7 @@ static void readbn(BIGNUM **bn, BIO *bconn)
int l;
l = BIO_gets(bconn, buf, sizeof buf);
assert(l >= 0);
assert(l > 0);
assert(buf[l-1] == '\n');
buf[l-1] = '\0';
BN_hex2bn(bn, buf);