[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Mon Feb 1 16:24:06 UTC 2016


The branch master has been updated
       via  8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e (commit)
      from  53619f9f40740ae8b256998574758aa191635db8 (commit)


- Log -----------------------------------------------------------------
commit 8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e
Author: Rich Salz <rsalz at akamai.com>
Date:   Mon Feb 1 08:44:33 2016 -0500

    Style; add "!= NULL"
    
    Reviewed-by: Emilia Käsper <emilia at openssl.org>

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

Summary of changes:
 include/internal/dane.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/dane.h b/include/internal/dane.h
index e38ee85..4258110 100644
--- a/include/internal/dane.h
+++ b/include/internal/dane.h
@@ -121,7 +121,7 @@ struct dane_st {
     int             pdpth;      /* Depth of PKIX trust */
 };
 
-#define DANETLS_ENABLED(dane)  ((dane) && ((dane)->trecs != NULL))
+#define DANETLS_ENABLED(dane)  ((dane) != NULL && ((dane)->trecs != NULL))
 
 #define DANETLS_USAGE_BIT(u)   (((uint32_t)1) << u)
 


More information about the openssl-commits mailing list