Encode INTEGER correctly.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 18 Mar 2013 14:19:40 +0000 (14:19 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 18 Mar 2013 14:22:01 +0000 (14:22 +0000)
commitd7e429b91d22c6e4eaa543a406297181f030c26b
tree7a5b1daa10c95ae22c97a44262434d64c3aaa1a5
parent155ef13c678d200fffdb607897501a10331e617a
Encode INTEGER correctly.

If an ASN1_INTEGER structure is allocated but not explicitly set encode
it as zero: don't generate an invalid zero length INTEGER.
(cherry picked from commit 1643edc63c3e15b6db5a15a728bc288f2cc2bbc7)
crypto/asn1/a_int.c