From: Alexandra Ellwood Date: Tue, 2 Oct 2007 18:47:57 +0000 (+0000) Subject: cc_initalize(ccapi_version_2) should return CC_BAD_API_VERSION not CC_NOT_SUPP X-Git-Tag: krb5-1.7-alpha1~821 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a393efb2b7797ea82df0993dc26a2d9bc2813f8e;p=krb5.git cc_initalize(ccapi_version_2) should return CC_BAD_API_VERSION not CC_NOT_SUPP ticket: new target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20081 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ccapi/lib/ccapi_context.c b/src/ccapi/lib/ccapi_context.c index 1aef3a696..031c62a3a 100644 --- a/src/ccapi/lib/ccapi_context.c +++ b/src/ccapi/lib/ccapi_context.c @@ -118,7 +118,7 @@ cc_int32 cc_initialize (cc_context_t *out_context, if (!err) { switch (in_version) { case ccapi_version_2: - err = CC_NOT_SUPP; + err = CC_BAD_API_VERSION; break; case ccapi_version_3: