diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-05-07 17:00:48 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-05-07 17:00:48 +0000 |
| commit | 7a3fe5c112c724d8847177ef4a4a46fd29fe1925 (patch) | |
| tree | 3b45334764c12e44b88dd236c376ee7fe93121f4 /src/include | |
| parent | afed25eae5be0171bbf37a3ae2ab0c6ce3666459 (diff) | |
| download | krb5-7a3fe5c112c724d8847177ef4a4a46fd29fe1925.tar.gz krb5-7a3fe5c112c724d8847177ef4a4a46fd29fe1925.tar.xz krb5-7a3fe5c112c724d8847177ef4a4a46fd29fe1925.zip | |
move KRB5_KDB_MAX_LIFE & friends to config.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@754 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/kdb.h | 5 | ||||
| -rw-r--r-- | 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__ */ |
