From: Luke Howard Date: Mon, 19 Sep 2011 08:58:52 +0000 (+1000) Subject: use krb5_auth_con_setlocalsubkey on Heimdal X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=3211429b52cc3f5e9e5a44e22742f66dc2d90e20 use krb5_auth_con_setlocalsubkey on Heimdal --- diff --git a/mech_eap/util_reauth.c b/mech_eap/util_reauth.c index 1d8dbb1..32ed781 100644 --- a/mech_eap/util_reauth.c +++ b/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;