KG_TOK_CTX_AP_REP
g_make_token_header(&buf, mech_used, ap_rep.length, KG_TOK_CTX_AP_REP);
} else if (toktype != KG_TOK_CTX_AP_REP) {