summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-05-20 15:21:28 +0000
committerGreg Hudson <ghudson@mit.edu>2011-05-20 15:21:28 +0000
commit723f909f3d532c5610aebecad83eb0601faba6d4 (patch)
treeba4ec0030ebf2960d478b41faa8312f1bb149bde /src/include
parent60fbd61b58c360679ad43aaf0bf9f7261319d168 (diff)
downloadkrb5-723f909f3d532c5610aebecad83eb0601faba6d4.tar.gz
krb5-723f909f3d532c5610aebecad83eb0601faba6d4.tar.xz
krb5-723f909f3d532c5610aebecad83eb0601faba6d4.zip
Revert r5233 and mark get_age as deprecated in the DAL documentation.
We do not need to check reply retransmissions for staleness any more than TCP needs to. A genuinely new request will have a different nonce. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24936 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kdb.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/include/kdb.h b/src/include/kdb.h
index 81e14e9f8..d58178801 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -831,13 +831,8 @@ typedef struct _kdb_vftabl {
char **db_args);
/*
- * Optional: Set *age to the last modification time of the database. Used
- * by the KDC lookaside cache to ensure that lookaside entries are not used
- * if the database has changed since the entry was recorded.
- *
- * If this function is unimplemented, lookaside cache entries will
- * effectively expire immediately. Another option is to supply the current
- * time, which will cause lookaside cache entries to last for one second.
+ * Deprecated: No longer used as of krb5 1.10; can be removed in the next
+ * DAL revision. Modules should leave as NULL.
*/
krb5_error_code (*get_age)(krb5_context kcontext, char *db_name,
time_t *age);