From e9c2eb8b137594cb81976b827190611c4cb44b94 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 19 Sep 2011 18:58:52 +1000 Subject: [PATCH] use krb5_auth_con_setlocalsubkey on Heimdal --- moonshot/mech_eap/util_reauth.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/moonshot/mech_eap/util_reauth.c b/moonshot/mech_eap/util_reauth.c index 1d8dbb1..32ed781 100644 --- a/moonshot/mech_eap/util_reauth.c +++ b/moonshot/mech_eap/util_reauth.c @@ -335,8 +335,13 @@ gssEapMakeReauthCreds(OM_uint32 *minor, if (code != 0) goto cleanup; +#ifdef HAVE_HEIMDAL_VERSION + code = krb5_auth_con_setlocalsubkey(krbContext, authContext, + &ctx->rfc3961Key); +#else code = krb5_auth_con_setsendsubkey(krbContext, authContext, &ctx->rfc3961Key); +#endif if (code != 0) goto cleanup; -- 2.1.4