Fix test/asn1_encode_test.c, ASN1_LONG_DATA used inappropriately
authorRichard Levitte <levitte@openssl.org>
Wed, 5 Apr 2017 11:37:37 +0000 (13:37 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 5 Apr 2017 11:37:37 +0000 (13:37 +0200)
commit5748e4dc3ab1cdde43ae6feecb106e3a41adcdf4
tree32a9ab3e7d65263d18830262cefeb680bd65864c
parent1bc563caa144a568fc505f210568f5ac5b66315e
Fix test/asn1_encode_test.c, ASN1_LONG_DATA used inappropriately

It's sheer luck that this was used for the first field only which also
has the same type in all data structures, so the offsets were never wrong

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