diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2006-11-16 20:48:03 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2006-11-16 20:48:03 +0000 |
commit | 8dfa77032485a51aed1aafba747b27234875c423 (patch) | |
tree | ce404d92e0aff97bf4f8118993b1714b7a003626 | |
parent | 7ab92fb164e536f1fdb8ca3c6c16aea62c5fd9e5 (diff) | |
download | krb5-8dfa77032485a51aed1aafba747b27234875c423.zip krb5-8dfa77032485a51aed1aafba747b27234875c423.tar.gz krb5-8dfa77032485a51aed1aafba747b27234875c423.tar.bz2 |
krb5_stdccv3_generate_new returns NULL ccache
Fixed krb5_stdccv3_generate_new so it no longer returns a NULL ccache.
ticket: new
target_version: 1.6
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18820 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/ccache/ccapi/stdcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index c9133ef..d2a23be 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -278,12 +278,12 @@ krb5_stdccv3_generate_new (krb5_context context, krb5_ccache *id ) } if (!err) { - err = cc_context_create_new_ccache(gCntrlBlock, cc_credentials_v5, 0L, - &ccapi_data->NamedCache); + err = cc_context_create_new_ccache (gCntrlBlock, cc_credentials_v5, 0L, + &ccache); } if (!err) { - err = cc_ccache_get_name (ccapi_data->NamedCache, &ccstring); + err = cc_ccache_get_name (ccache, &ccstring); } if (!err) { |