Many security improvements (CHATS) and a warning fix.

This commit is contained in:
Ben Laurie
2002-11-12 13:23:40 +00:00
parent 707ceb29e0
commit 9831d941ca
111 changed files with 755 additions and 480 deletions

View File

@@ -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. */