More careful matching of alloc/free functions
[mech_eap.orig] / mech_eap / util_radius.cpp
index 76fba7b..a23d93d 100644 (file)
@@ -809,7 +809,7 @@ gss_eap_radius_attr_provider::initWithJsonObject(const gss_eap_attr_ctx *ctx,
         pNext = &vp->next;
     }
 
-    m_authenticated = obj["authenticated"].integer();
+    m_authenticated = obj["authenticated"].integer() ? true : false;
 
     return true;
 }