[openssl-commits] [openssl] OpenSSL_0_9_8-stable update

Dr. Stephen Henson steve at openssl.org
Tue Oct 6 14:19:18 UTC 2015


The branch OpenSSL_0_9_8-stable has been updated
       via  cc21b51add2415cc63113b71b34bc1c7b588e67d (commit)
      from  89133ba26a1c9e0fa99dd2cc782fa504ea3a5137 (commit)


- Log -----------------------------------------------------------------
commit cc21b51add2415cc63113b71b34bc1c7b588e67d
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Tue Oct 6 14:15:14 2015 +0100

    Don't try and parse boolean type.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (cherry picked from commit e58c4d3cdde7a0a01df2884bfeec31a2b07be22d)

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

Summary of changes:
 apps/asn1pars.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index 3c9da5c..e3751f4 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -313,9 +313,9 @@ int MAIN(int argc, char **argv)
             }
             typ = ASN1_TYPE_get(at);
             if ((typ == V_ASN1_OBJECT)
+                || (typ == V_ASN1_BOOLEAN)
                 || (typ == V_ASN1_NULL)) {
-                BIO_printf(bio_err, "Can't parse %s type\n",
-                           typ == V_ASN1_NULL ? "NULL" : "OBJECT");
+                BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ));
                 ERR_print_errors(bio_err);
                 goto end;
             }


More information about the openssl-commits mailing list