Add ASN.1 INTEGER tests.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 26 Apr 2016 11:12:40 +0000 (12:12 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 3 May 2016 12:06:15 +0000 (13:06 +0100)
commit2c7fe4dc9ae0c84d2c398d57143983800cc3f18d
tree5d21fa5ba5198a24f5f72e711cc4b7a4f572d6a5
parent1b96ec100226e24c2969ff586aabf4dcd942c694
Add ASN.1 INTEGER tests.

Add tests for ASN.1 INTEGER: invalid tag, valid 0, 1, -1 and 0, -1 with
illegal padding.

Also add ASN1_ANY tests for 0, 1 and -1.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
test/d2i-tests/bad-int-pad0.der [new file with mode: 0644]
test/d2i-tests/bad-int-padminus1.der [new file with mode: 0644]
test/d2i-tests/int0.der [new file with mode: 0644]
test/d2i-tests/int1.der [new file with mode: 0644]
test/d2i-tests/intminus1.der [new file with mode: 0644]
test/recipes/25-test_d2i.t