From 8dfa77032485a51aed1aafba747b27234875c423 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 16 Nov 2006 20:48:03 +0000 Subject: [PATCH] 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 --- src/lib/krb5/ccache/ccapi/stdcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index c9133efcd..d2a23be96 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) { -- 2.26.2