Fix regression where error tokens were not being sent
[mech_eap.orig] / mech_eap / util_sm.c
index 7010f99..56248d8 100644 (file)
@@ -139,6 +139,7 @@ makeErrorToken(OM_uint32 *minor,
         return major;
     }
 
+    token->buffers.count = 1;
     token->types[0] = ITOK_TYPE_CONTEXT_ERR | ITOK_FLAG_CRITICAL;
 
     *minor = 0;