Security fixes brought forward from 0.9.7.
This commit is contained in:
@@ -228,6 +228,7 @@ int DSA_size(const DSA *r)
|
||||
|
||||
i=BN_num_bits(r->q);
|
||||
bs.length=(i+7)/8;
|
||||
OPENSSL_assert(bs.length <= sizeof buf);
|
||||
bs.data=buf;
|
||||
bs.type=V_ASN1_INTEGER;
|
||||
/* If the top bit is set the asn1 encoding is 1 larger. */
|
||||
|
Reference in New Issue
Block a user