projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b3dca
)
use krb5_auth_con_setlocalsubkey on Heimdal
author
Luke Howard
<lukeh@padl.com>
Mon, 19 Sep 2011 08:58:52 +0000
(18:58 +1000)
committer
Luke Howard
<lukeh@padl.com>
Mon, 19 Sep 2011 08:58:52 +0000
(18:58 +1000)
mech_eap/util_reauth.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_reauth.c
b/mech_eap/util_reauth.c
index
1d8dbb1
..
32ed781
100644
(file)
--- 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;