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:08 +0000 (14:22 +0000)
commit5de18d5d0d1d760665d7dd72ffa4bc811400ab18
tree1d4bae2e4d9c467e9b1ecbeba34611ba3cb7d241
parente24fd37cdad7cc80b4086fb3a0c43e0353ff6204
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