Commit 617298dc authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Update from stable branch.

parent 33ab2e31
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2471,7 +2471,7 @@ static void readbn(BIGNUM **bn, BIO *bconn)
	int l;
	int l;


	l = BIO_gets(bconn, buf, sizeof buf);
	l = BIO_gets(bconn, buf, sizeof buf);
	assert(l >= 0);
	assert(l > 0);
	assert(buf[l-1] == '\n');
	assert(buf[l-1] == '\n');
	buf[l-1] = '\0';
	buf[l-1] = '\0';
	BN_hex2bn(bn, buf);
	BN_hex2bn(bn, buf);