From 7a3fe5c112c724d8847177ef4a4a46fd29fe1925 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 7 May 1990 17:00:48 +0000 Subject: [PATCH] move KRB5_KDB_MAX_LIFE & friends to config.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@754 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/kdb.h | 5 ----- src/include/krb5/stock/config.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index 17066c7f0..fdaa52251 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -100,11 +100,6 @@ krb5_error_code krb5_kdb_decrypt_key krb5_error_code krb5_db_setup_mkey_name PROTOTYPE((const char *, const char *, char **, krb5_principal *)); -/* XXX these belong in some config file */ -#define KRB5_KDB_MAX_LIFE (60*60*24) /* one day */ -#define KRB5_KDB_MAX_RLIFE (60*60*24*7) /* one week */ -#define KRB5_KDB_EXPIRATION 2145830400 /* Thu Jan 1 00:00:00 2038 UTC */ - #define KRB5_KDB_DEF_FLAGS (KRB5_KDB_DISALLOW_DUP_SKEY) /* XXX THIS REALLY BELONGS ELSEWHERE */ diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h index b261e7d32..902b1688a 100644 --- a/src/include/krb5/stock/config.h +++ b/src/include/krb5/stock/config.h @@ -36,4 +36,8 @@ #define DEFAULT_PWD_STRING1 "Enter password:" #define DEFAULT_PWD_STRING2 "Re-enter password for verification:" +#define KRB5_KDB_MAX_LIFE (60*60*24) /* one day */ +#define KRB5_KDB_MAX_RLIFE (60*60*24*7) /* one week */ +#define KRB5_KDB_EXPIRATION 2145830400 /* Thu Jan 1 00:00:00 2038 UTC */ + #endif /* KRB5_CONFIG__ */ -- 2.26.2