pike.git/lib/modules/Sql.pmod/pgsql.pike:813: Inside #if defined(PG_DEBUG)
if(msglen != 1)
errtype=PROTOCOLERROR;
msglen=0;
#endif
break;
}
case 11: {
PD("AuthenticationSASLContinue\n");
string response;
if (response
- = SASLcontext.client_2(pass, cr->read_buffer(msglen)))
+ = SASLcontext.client_2(cr->read_buffer(msglen), pass))
authresponse(response);
else
errtype = PROTOCOLERROR;
#ifdef PG_DEBUG
msglen = 0;
#endif
break;
}
case 12:
PD("AuthenticationSASLFinal\n");