remove magic 3 with ccapi_version_3

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14096 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-08-06 16:09:51 +00:00
parent 3b7f84fe0d
commit 5c193984ae

View File

@@ -44,6 +44,10 @@ enum {
cc_credentials_v5 = 2
};
enum {
ccapi_version_3 = 3
};
enum {
ccNoError = 0,
@@ -52,7 +56,7 @@ enum {
ccErrNoMem,
ccErrInvalidContext,
ccErrInvalidCCache,
ccErrInvalidString, /* 206 */
ccErrInvalidCredentials,
ccErrInvalidCCacheIterator,
@@ -477,7 +481,7 @@ acc_alloc(krb5_context context, krb5_ccache *id)
a = ACACHE(*id);
error = (*init_func)(&a->context, 3, NULL, NULL);
error = (*init_func)(&a->context, ccapi_version_3, NULL, NULL);
if (error) {
krb5_data_free(&(*id)->data);
return error;