Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-02-01 16:44:33 +0300
committerRich Salz <rsalz@openssl.org>2016-02-01 19:23:55 +0300
commit8cdd6b6b476833ea5c5d75a620fb92e27a1b8f4e (patch)
treebab0702a677c594d8e0c55572bd4a923b6a4d4ac /include/internal
parent53619f9f40740ae8b256998574758aa191635db8 (diff)
Style; add "!= NULL"
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/dane.h2
1 files changed, 1 insertions, 1 deletions
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)