diff --git a/include/internal/dane.h b/include/internal/dane.h index e38ee85bc..42581104f 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)