diff options
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/dane.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |