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:45:24 +0000 |
commit | 8cd671408401eff07a53c6051de86077f7a584b1 (patch) | |
tree | c714ba2d56c2b897162acb5a643ff6ee5c70ef6c | |
parent | 327de270d583e716bc0282dd0d59e133f41d7ada (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>
(cherry picked from commit 5dc1247a7494f50c88ce7492518bbe0ce6f124fa)
-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 4866dcd193..7c54f9d1d4 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: |