1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4:gensec/spengo: make sure we send the blob with the micListMech signature to the peer

We should even do this if the submech has no more data to send.

metze
This commit is contained in:
Stefan Metzmacher 2009-07-24 09:33:06 +02:00
parent 68028a73b6
commit c00e4040bc

View File

@ -1061,7 +1061,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
return nt_status;
}
if (unwrapped_out.length) {
if (unwrapped_out.length || mech_list_mic.length) {
/* compose reply */
spnego_out.type = SPNEGO_NEG_TOKEN_TARG;
spnego_out.negTokenTarg.negResult = SPNEGO_NONE_RESULT;