提交 5dc1247a 编写于 作者: D Dr. Stephen Henson

ASN.1 print fix.

When printing out an ASN.1 structure if the type is an item template don't
fall thru and attempt to interpret as a primitive type.
Reviewed-by: NAndy Polyakov <appro@openssl.org>
上级 3d764db7
...@@ -220,6 +220,7 @@ static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, ...@@ -220,6 +220,7 @@ static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
if (!asn1_template_print_ctx(out, fld, indent, if (!asn1_template_print_ctx(out, fld, indent,
it->templates, pctx)) it->templates, pctx))
return 0; return 0;
break;
} }
/* fall thru */ /* fall thru */
case ASN1_ITYPE_MSTRING: case ASN1_ITYPE_MSTRING:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册