s4:rpc_server: simplify the GENSEC_FEATURE_SIGN_PKT_HEADER logic
commite9ec93e5f28b73736af236bbf28a23df200aa261
authorStefan Metzmacher <metze@samba.org>
Fri, 12 May 2017 05:56:47 +0000 (12 07:56 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 21 May 2017 19:05:09 +0000 (21 21:05 +0200)
tree83654a283db083f65e246845b4a3d43733816150
parent278f220c7e2d4428c784105edf1c5db713e14e1b
s4:rpc_server: simplify the GENSEC_FEATURE_SIGN_PKT_HEADER logic

We can directly check this after gensec_start_mech_by_authtype(),
the backend either supports it or not. There's nothing that
can change during the authentication phase.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/dcesrv_auth.c