]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve type safety of SPNEGO helper functions 351/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 6 Jan 2016 16:31:07 +0000 (11:31 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 11 Jan 2016 16:38:57 +0000 (11:38 -0500)
commit28db863bd8a0a6e76be65acdd7c35afd3503827c
tree536bb915cca8a807051bedf4845b8ff16a37f11a
parent159dbbd5ff14fdc2fa71fb3a8804eb401c914399
Improve type safety of SPNEGO helper functions

Modify init_ctx_new(), init_ctx_cont(), acc_ctx_hints(),
acc_ctx_new(), and acc_ctx_cont() to operate on SPNEGO context handles
rather than generic GSS context handles.  For the functions which
create a new context, move the context parameter to the end and follow
the usual practices for output parameters.  Adjust stage 1 flow
control in spnego_gss_accept_sec_context() to allow acc_ctx_new() to
always be a context constructor.
src/lib/gssapi/spnego/spnego_mech.c