From 8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 1 Feb 2016 08:44:33 -0500 Subject: [PATCH] Style; add "!= NULL" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- 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 e38ee85bcf..42581104fd 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) -- 2.25.1