fix missing return statement in importing attributes
[moonshot.git] / mech_eap / util_attr.cpp
index 41a2736..2b4d7c4 100644 (file)
@@ -333,6 +333,9 @@ gss_eap_attr_ctx::initFromBuffer(const gss_buffer_t buffer)
         didInit[type] = true;
     }
 
+    if (ret == false)
+        return ret;
+
     /*
      * The call the initFromGssContext methods for attribute
      * providers that can initialize themselves from other