Author: abartlet Date: 2005-06-29 02:27:03 +0000 (Wed, 29 Jun 2005) New Revision: 356
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=356 Log: (Fix bug in previous commit) Fill in the context flags *after* getting them from the packet... Andrew Bartlett Modified: trunk/heimdal/lib/gssapi/accept_sec_context.c Changeset: Modified: trunk/heimdal/lib/gssapi/accept_sec_context.c =================================================================== --- trunk/heimdal/lib/gssapi/accept_sec_context.c 2005-06-28 13:00:35 UTC (rev 355) +++ trunk/heimdal/lib/gssapi/accept_sec_context.c 2005-06-29 02:27:03 UTC (rev 356) @@ -359,7 +359,6 @@ (*context_handle)->ticket = ticket; (*context_handle)->service_keyblock = keyblock; (*context_handle)->lifetime = ticket->ticket.endtime; - (*context_handle)->flags = flags; /* * We need to copy the principal names to the context and the calling layer @@ -412,6 +411,9 @@ if (ret) return ret; } + /* And remember them for later */ + (*context_handle)->flags = flags; + if(flags & GSS_C_MUTUAL_FLAG) { int is_cfx = 0; krb5_data outbuf;