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


- Log -----------------------------------------------------------------
commit 8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e
Author: Rich Salz <[email protected]>
Date:   Mon Feb 1 08:44:33 2016 -0500

    Style; add "!= NULL"
    
    Reviewed-by: Emilia Käsper <[email protected]>

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

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)
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to