krb5 commit: Save the full residual for keyring caches
Greg Hudson
ghudson at MIT.EDU
Thu Aug 15 15:56:19 EDT 2013
https://github.com/krb5/krb5/commit/559b84214cfefb9accc320a13590684ce1cd0592
commit 559b84214cfefb9accc320a13590684ce1cd0592
Author: Simo Sorce <simo at redhat.com>
Date: Wed Aug 7 17:47:16 2013 -0400
Save the full residual for keyring caches
krb5_cc_get_name() should allow the caller to reconstruct the full
cache name. That is not possible if thread: and process: are omitted
here. (The saved name is not used by anything except
krb5_krcc_get_name, so this change is safe.)
[ghudson at mit.edu: proofread and clarified commit message]
ticket: 7692 (new)
src/lib/krb5/ccache/cc_keyring.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lib/krb5/ccache/cc_keyring.c b/src/lib/krb5/ccache/cc_keyring.c
index 8b376e6..059e9ee 100644
--- a/src/lib/krb5/ccache/cc_keyring.c
+++ b/src/lib/krb5/ccache/cc_keyring.c
@@ -599,7 +599,7 @@ krb5_krcc_resolve(krb5_context context, krb5_ccache * id, const char *full_resid
return KRB5_CC_NOMEM;
- kret = krb5_krcc_new_data(residual, key, ring_id, &d);
+ kret = krb5_krcc_new_data(full_residual, key, ring_id, &d);
if (kret) {
free(lid);
return kret;
More information about the cvs-krb5
mailing list