OPENSSL_assert(bs.length <= sizeof buf);
int DSA_size(const DSA *r)	{	int ret,i;	ASN1_INTEGER bs;	unsigned char buf[4];	i=BN_num_bits(r->q);	bs.length=(i+7)/8;	bs.data=buf;	bs.type=V_ASN1_INTEGER;	/* If the top bit is set the asn1 encoding is 1 larger. */	buf[0]=0xff;		i=i2d_ASN1_INTEGER(&bs,NULL);	i+=i; /* r and s */	ret=ASN1_object_size(1,i,V_ASN1_SEQUENCE);	return(ret);	}