krb5 commit [krb5-1.13]: Fix mechglue gss_acquire_cred_impersonate_name
Tom Yu
tlyu at mit.edu
Mon Nov 30 13:11:07 EST 2015
https://github.com/krb5/krb5/commit/dab2474dc628c5d05bc2863d37fd62a71ddb59fd
commit dab2474dc628c5d05bc2863d37fd62a71ddb59fd
Author: Simo Sorce <simo at redhat.com>
Date: Fri Nov 13 14:44:54 2015 -0500
Fix mechglue gss_acquire_cred_impersonate_name
Checking for the generic gss_acquire_cred() function is no guarantee
that gss_acquire_cred_impersonate_name() is also implemented.
[ghudson at mit.edu: edit commit message]
(cherry picked from commit 46a4e225d2ecaa4077aa65f12f64273bf4911d3a)
ticket: 8285 (new)
version_fixed: 1.13.3
status: resolved
src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c b/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
index ddaac25..0dd4f87 100644
--- a/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
+++ b/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
@@ -353,7 +353,7 @@ gss_add_cred_impersonate_name(OM_uint32 *minor_status,
mech = gssint_get_mechanism(desired_mech);
if (!mech)
return GSS_S_BAD_MECH;
- else if (!mech->gss_acquire_cred)
+ else if (!mech->gss_acquire_cred_impersonate_name)
return (GSS_S_UNAVAILABLE);
if (input_cred_handle == GSS_C_NO_CREDENTIAL) {
More information about the cvs-krb5
mailing list