[openssl-commits] [openssl] master update

Kurt Roeckx kurt at openssl.org
Mon Jan 16 03:50:31 UTC 2017


The branch master has been updated
       via  c4a60150914fc260c3fc2854e13372c870bdde76 (commit)
      from  c2ce477f1f3c0a98802fb087b0cf4b0a99ea2b1d (commit)


- Log -----------------------------------------------------------------
commit c4a60150914fc260c3fc2854e13372c870bdde76
Author: Kurt Roeckx <kurt at roeckx.be>
Date:   Mon Jan 16 00:04:31 2017 +0100

    Add missing braces.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    GH: #2234

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

Summary of changes:
 crypto/x509/t_x509.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c
index 5119c0e..eb65d88 100644
--- a/crypto/x509/t_x509.c
+++ b/crypto/x509/t_x509.c
@@ -97,9 +97,10 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
             if (bs->type == V_ASN1_NEG_INTEGER) {
                 ul = 0 - (unsigned long)l;
                 neg = "-";
-            } else
+            } else {
                 ul = l;
                 neg = "";
+            }
             if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, ul, neg, ul) <= 0)
                 goto err;
         } else {


More information about the openssl-commits mailing list