In asn1_encode_test.c, add custom DER encoding checks
authorRichard Levitte <levitte@openssl.org>
Mon, 10 Apr 2017 23:33:50 +0000 (01:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 10:30:38 +0000 (12:30 +0200)
commitfa2274e805b9787d90306963e3921a9e6f7010eb
tree4a8f599d6c6b807e3458c0c09ca5beb7420d0565
parentcbf0cfafd14038a7bc9674aaf9200eced7fcc842
In asn1_encode_test.c, add custom DER encoding checks

We're already checking that custom DER decodes to expected values (or
fails to do so), but we didn't check if values encode back to expected
DER.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3174)
test/asn1_encode_test.c