Heimdal build fixes
authorLuke Howard <lukeh@padl.com>
Tue, 2 Feb 2016 04:12:58 +0000 (15:12 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 2 Feb 2016 04:12:58 +0000 (15:12 +1100)
commita1264eff395d75645a8ce869839120ea0be8cd58
tree3a635e82edc7ad7d645d61f2e9f241e6a258c87d
parent65bc46fcb4d9e8b0c0404a8d221e87528162ef14
Heimdal build fixes

Heimdal's GSS-API uses constant context, credential and name handles in various
places (including some where the handle is actually mutable, such as a context
that is having its sequence state updated by a message protection operation).
Conditionally define the exported API to match this. We use gss_const_XXX
internally now which should not regress with MIT.

Note: we really need to look at how locking is done, I think in my initial
implementation I was probably a bit overzealous with the mutexes.
38 files changed:
build-aux/compile
mech_eap/accept_sec_context.c
mech_eap/acquire_cred.c
mech_eap/add_cred.c
mech_eap/add_cred_with_password.c
mech_eap/canonicalize_name.c
mech_eap/compare_name.c
mech_eap/context_time.c
mech_eap/display_name.c
mech_eap/duplicate_name.c
mech_eap/export_name.c
mech_eap/get_mic.c
mech_eap/gssapiP_eap.h
mech_eap/init_sec_context.c
mech_eap/inquire_context.c
mech_eap/inquire_cred.c
mech_eap/inquire_cred_by_mech.c
mech_eap/inquire_cred_by_oid.c
mech_eap/inquire_mechs_for_name.c
mech_eap/inquire_sec_context_by_oid.c
mech_eap/process_context_token.c
mech_eap/pseudo_random.c
mech_eap/unwrap.c
mech_eap/util.h
mech_eap/util_attr.cpp
mech_eap/util_attr.h
mech_eap/util_context.c
mech_eap/util_cred.c
mech_eap/util_krb.c
mech_eap/util_lucid.c
mech_eap/util_moonshot.c
mech_eap/util_name.c
mech_eap/util_sm.c
mech_eap/verify_mic.c
mech_eap/wrap.c
mech_eap/wrap_iov.c
mech_eap/wrap_iov_length.c
mech_eap/wrap_size_limit.c