Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/mech_eap/init_sec_context.c b/mech_eap/init_sec_context.c
- index f6d7269..00b4189 100644
- --- a/mech_eap/init_sec_context.c
- +++ b/mech_eap/init_sec_context.c
- @@ -662,7 +662,7 @@ eapGssSmInitGssReauth(OM_uint32 *minor,
- * context credential does not currently have the reauth creds.
- */
- if (GSSEAP_SM_STATE(ctx) == GSSEAP_STATE_INITIAL) {
- - if (!gssEapCanReauthP(cred, target, timeReq))
- + if (!gssEapCanReauthP(cred, (gss_name_t)target, timeReq))
- return GSS_S_CONTINUE_NEEDED;
- ctx->flags |= CTX_FLAG_KRB_REAUTH;
- @@ -674,7 +674,7 @@ eapGssSmInitGssReauth(OM_uint32 *minor,
- GSSEAP_ASSERT(cred != GSS_C_NO_CREDENTIAL);
- - major = gssEapMechToGlueName(minor, target, &mechTarget);
- + major = gssEapMechToGlueName(minor, (gss_name_t)target, &mechTarget);
- if (GSS_ERROR(major))
- goto cleanup;
- diff --git a/mech_eap/util_reauth.c b/mech_eap/util_reauth.c
- index 40e3de1..cd85a53 100644
- --- a/mech_eap/util_reauth.c
- +++ b/mech_eap/util_reauth.c
- @@ -1097,7 +1097,7 @@ OM_uint32
- gssReleaseName(OM_uint32 *minor,
- gss_name_t *name)
- {
- - if (gssReleaseName == NULL) {
- + if (gssReleaseNameNext == NULL) {
- *minor = GSSEAP_NO_MECHGLUE_SYMBOL;
- return GSS_S_UNAVAILABLE;
- }
- --
- 2.7.4.1.g5468f9e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement