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:21:56 +0000 (14:21 +0000)
commit85615e33e526be9c420c92e85f3d73d94c7f2fe6
tree2fe06eb8678c322ec724a5ce4be99319213e36e8
parentf4cfc3444aad8d3d98fbcffec0c6caea9a51718c
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