Fix asn1_item_print_ctx
authorMatt Caswell <matt@openssl.org>
Wed, 11 Mar 2015 19:41:01 +0000 (19:41 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 12 Mar 2015 09:32:23 +0000 (09:32 +0000)
commit2679485e69c55b8186bc14d4947fc508c5f55358
tree25999c5d3db5a877b80c0019d7b01f877a274785
parente6dcb08984b2e3f765ab5a2f45aaf0a8cc263bba
Fix asn1_item_print_ctx

The call to asn1_do_adb can return NULL on error, so we should check the
return value before attempting to use it.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 34a7ed0c39aa3ab67eea1e106577525eaf0d7a00)
crypto/asn1/tasn_prn.c