projects
/
platform
/
upstream
/
krb5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.20.1
[platform/upstream/krb5.git]
/
src
/
lib
/
krb5
/
ccache
/
cc_dir.c
diff --git
a/src/lib/krb5/ccache/cc_dir.c
b/src/lib/krb5/ccache/cc_dir.c
index
bba64e5
..
1da40b5
100644
(file)
--- a/
src/lib/krb5/ccache/cc_dir.c
+++ b/
src/lib/krb5/ccache/cc_dir.c
@@
-692,12
+692,12
@@
dcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
}
static krb5_error_code KRB5_CALLCONV
}
static krb5_error_code KRB5_CALLCONV
-dcc_
lastchange(krb5_context context, krb5_ccache cache
,
-
krb5_timestamp *time_out
)
+dcc_
replace(krb5_context context, krb5_ccache cache, krb5_principal princ
,
+
krb5_creds **creds
)
{
dcc_data *data = cache->data;
{
dcc_data *data = cache->data;
- return krb5_fcc_ops.
lastchange(context, data->fcc, time_out
);
+ return krb5_fcc_ops.
replace(context, data->fcc, princ, creds
);
}
static krb5_error_code KRB5_CALLCONV
}
static krb5_error_code KRB5_CALLCONV
@@
-761,8
+761,7
@@
const krb5_cc_ops krb5_dcc_ops = {
dcc_ptcursor_new,
dcc_ptcursor_next,
dcc_ptcursor_free,
dcc_ptcursor_new,
dcc_ptcursor_next,
dcc_ptcursor_free,
- NULL, /* move */
- dcc_lastchange,
+ dcc_replace,
NULL, /* wasdefault */
dcc_lock,
dcc_unlock,
NULL, /* wasdefault */
dcc_lock,
dcc_unlock,