gensec: inline gensec_generate_session_info() into only caller
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jan 2012 00:53:04 +0000 (11:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jan 2012 07:05:14 +0000 (08:05 +0100)
commit3ddb983c10aab6ad8eb2a766accfccb2b3671a3a
tree2a497c1a4047d8993a0db0914313412fcbe5a20c
parentfc035afb6ecdb54e6183be511e886ac07727cc0b
gensec: inline gensec_generate_session_info() into only caller

This avoids casting to and from the struct auth_user_info_dc *user_info_dc

to to this, the

if (user_info_dc->info->authenticated)

is moved into auth_generate_session_info_wrapper(), which is the
function that gensec_security->auth_context->generate_session_info
points to.

Andrew Bartlett
auth/gensec/gensec.h
auth/gensec/gensec_util.c
source4/auth/ntlm/auth.c
source4/auth/ntlmssp/ntlmssp_server.c