]> git.samba.org - metze/samba/wip.git/commit
s4:gensec_gssapi: pass gss_got_flags to gssapi_get_sig_size()
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Sep 2016 06:20:37 +0000 (08:20 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:12 +0000 (11:20 +0200)
commitf0afefefe41b0f8c19392f05476eb03d7911958b
tree7365d597f325ce5b931b6ddb1e472a1e2aceab24
parentcca980eb5124261379aa821a1f5dc5dac9c9b04b
s4:gensec_gssapi: pass gss_got_flags to gssapi_get_sig_size()

We need to calculate the signature length based on the negotiated
flags. This is most important on the server side where,
gss_accept_sec_context() doesn't get gss_want_flags, but fills
gss_got_flags.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/auth/gensec/gensec_gssapi.c