if(serverout) *serverout = NULL;
if(serveroutlen) *serveroutlen = 0;
+ s_conn->sparams->plug = s_conn->mech->m.plug;
ret = s_conn->mech->m.plug->mech_step(conn->context,
s_conn->sparams,
clientin,
serveroutlen,
&conn->oparams);
+ s_conn->sparams->plug = NULL;
if (ret == SASL_OK) {
ret = do_authorization(s_conn);
}
+
if (ret == SASL_OK) {
/* if we're done, we need to watch out for the following:
* 1. the mech does server-send-last