bug-fix for nesting
[freeradius.git] / src / modules / rlm_ns_mta_md5 / rlm_ns_mta_md5.c
index f041ac4..cbaed84 100644 (file)
@@ -98,7 +98,7 @@ static int ns_mta_md5_pass(const char *clear, const char *encrypted)
   char hashed[HASH_LEN];
   char salt[33];
 
-  if (!strlen(encrypted) == 64) {
+  if (!(strlen(encrypted) == 64)) {
     DEBUG2("NS-MTA-MD5 hash not 64 bytes");
     return -1;
   }