From: Rich Salz Date: Mon, 1 Feb 2016 13:44:33 +0000 (-0500) Subject: Style; add "!= NULL" X-Git-Tag: OpenSSL_1_1_0-pre3~325 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e;p=oweals%2Fopenssl.git Style; add "!= NULL" Reviewed-by: Emilia Käsper --- 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)