diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-03-11 23:30:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-03-12 13:31:43 +0000 |
commit | 5dc1247a7494f50c88ce7492518bbe0ce6f124fa (patch) | |
tree | e3cddfa6791c0967db83712db3a25d30c1afd684 /crypto | |
parent | 3d764db7a24e3dca1a3ee57202ce3c818d592141 (diff) |
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: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/tasn_prn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c index 2626de9728..d8450b39b0 100644 --- a/crypto/asn1/tasn_prn.c +++ b/crypto/asn1/tasn_prn.c @@ -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, it->templates, pctx)) return 0; + break; } /* fall thru */ case ASN1_ITYPE_MSTRING: |