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:29:48 +0000 (09:29 +0000)
commit15919ecadc3ba9fc210472b806e6ac258825ea83
treeb9cadab1f88fca2cbf107acdc974f3981755093b
parent289c06823e52ce0e00b4f19ee260635ac1b02e98
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