diff options
author | Simo Sorce <simo@redhat.com> | 2013-08-07 17:47:16 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-08-15 15:55:32 -0400 |
commit | 559b84214cfefb9accc320a13590684ce1cd0592 (patch) | |
tree | 866f98af6adf760b990b32f5f3e4014059fb49b3 /src/lib/krb5 | |
parent | 7c48819629390927c89f13e2f6c976dc9a2d0ff6 (diff) | |
download | krb5-559b84214cfefb9accc320a13590684ce1cd0592.tar.gz krb5-559b84214cfefb9accc320a13590684ce1cd0592.tar.xz krb5-559b84214cfefb9accc320a13590684ce1cd0592.zip |
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@mit.edu: proofread and clarified commit message]
ticket: 7692 (new)
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | 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 8b376e6fd0..059e9ee51f 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; |