[openssl-commits] [openssl] OpenSSL_1_0_0-stable update

Dr. Stephen Henson steve at openssl.org
Thu Mar 12 13:57:13 UTC 2015


The branch OpenSSL_1_0_0-stable has been updated
       via  765db5f9e5a6e1ab2d215012036a84aec62de332 (commit)
      from  683f03e4881ffd19b8671f290387cd4e68fad457 (commit)


- Log -----------------------------------------------------------------
commit 765db5f9e5a6e1ab2d215012036a84aec62de332
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Wed Mar 11 23:30:52 2015 +0000

    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 at openssl.org>
    (cherry picked from commit 5dc1247a7494f50c88ce7492518bbe0ce6f124fa)

-----------------------------------------------------------------------

Summary of changes:
 crypto/asn1/tasn_prn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c
index 11d784c..060ffe2 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:


More information about the openssl-commits mailing list