gensec: Assert that we have not been subject to a downgrade attack in DCE/RPC clients
authorAndrew Bartlett <abartlet@samba.org>
Sat, 15 Oct 2011 02:17:33 +0000 (13:17 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 Oct 2011 02:13:32 +0000 (13:13 +1100)
commit0d5de7e19c8112821269b4f5a910ee777f35d185
tree61b04a7c2f01fff4f72988d222b0626d1277e4b7
parent5ef4e91cf099290c8798fd12b35927eed34b2fcf
gensec: Assert that we have not been subject to a downgrade attack in DCE/RPC clients

Because of the calling convention, this is the best place to assert
that we have not been subject to a downgrade attack on the negotiated
features.  (In DCE/RPC, this isn't a negotiation, the client simply
specifies the level of protection that is required).

Andrew Bartlett

(some formatting fixes)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
auth/gensec/gensec.c
auth/gensec/gensec.h
auth/gensec/gensec_start.c