From: Alexandra Ellwood Date: Thu, 16 Nov 2006 20:48:03 +0000 (+0000) Subject: krb5_stdccv3_generate_new returns NULL ccache X-Git-Tag: krb5-1.7-alpha1~1445 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8dfa77032485a51aed1aafba747b27234875c423;p=krb5.git 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 --- 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) {