projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53619f9
)
Style; add "!= NULL"
author
Rich Salz
<rsalz@akamai.com>
Mon, 1 Feb 2016 13:44:33 +0000
(08:44 -0500)
committer
Rich Salz
<rsalz@openssl.org>
Mon, 1 Feb 2016 16:23:55 +0000
(11:23 -0500)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
include/internal/dane.h
patch
|
blob
|
history
diff --git
a/include/internal/dane.h
b/include/internal/dane.h
index e38ee85bcffae23b9b249fad59dab8eb7ac604ac..42581104fd7a08acef798bc1ccbcab880c0d5c1b 100644
(file)
--- 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)