From 5d7df2cfaae8f27f355f11bd09ecb635f5523180 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 30 Jun 2006 00:46:14 +0000 Subject: [PATCH] fix stdcc.c to build without USE_CCAPI_V3 stdcc.c: should build without USE_CCAPI_V3 ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18278 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/ccapi/stdcc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index cd4a1f3d7..ff3e9a836 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -191,8 +191,13 @@ static krb5_error_code cc_err_xlate(int err) { const struct err_xlate *p; +#ifdef USE_CCAPI_V3 if (err == ccNoError) return 0; +#else + if (err == CC_NOERROR) + return 0; +#endif for (p = err_xlate_table; p->cc_err; p++) { if (err == p->cc_err) -- 2.26.2