cc_initalize(ccapi_version_2) should return CC_BAD_API_VERSION not CC_NOT_SUPP
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 2 Oct 2007 18:47:57 +0000 (18:47 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 2 Oct 2007 18:47:57 +0000 (18:47 +0000)
ticket: new
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20081 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/lib/ccapi_context.c

index 1aef3a696b19e7c06a364d682002fef0535a6efd..031c62a3a0ac795077723b5ed9d818f40b328f99 100644 (file)
@@ -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: