projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327de27
)
ASN.1 print fix.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 11 Mar 2015 23:30:52 +0000
(23:30 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 12 Mar 2015 13:45:24 +0000
(13:45 +0000)
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
)
crypto/asn1/tasn_prn.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_prn.c
b/crypto/asn1/tasn_prn.c
index 4866dcd1939bc33eac2fb954ad2e0f54b8a583bb..7c54f9d1d4a305057d953654dc7eda16d89a6ae7 100644
(file)
--- 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: