diff options
Diffstat (limited to 'lib/sslgen.c')
-rw-r--r-- | lib/sslgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c index fec358c51..7d264b0de 100644 --- a/lib/sslgen.c +++ b/lib/sslgen.c @@ -68,10 +68,10 @@ static bool safe_strequal(char* str1, char* str2) { if(str1 && str2) /* both pointers point to something then compare them */ - return strequal(str1, str2); + return (bool)(0 != strequal(str1, str2)); else /* if both pointers are NULL then treat them as equal */ - return (!str1 && !str2); + return (bool)(!str1 && !str2); } bool |