summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-09-02 03:26:19 +0000
committerTheodore Tso <tytso@mit.edu>1995-09-02 03:26:19 +0000
commit8adf58fadf9cf40e0e3c21b9c413e3ad7cfab1f0 (patch)
tree6f16c2eb0a7ef616d6937c2becd5830253a21f7a /src/include
parent2dfb67c918a60af2373f764ae12b418716b2a260 (diff)
downloadkrb5-8adf58fadf9cf40e0e3c21b9c413e3ad7cfab1f0.tar.gz
krb5-8adf58fadf9cf40e0e3c21b9c413e3ad7cfab1f0.tar.xz
krb5-8adf58fadf9cf40e0e3c21b9c413e3ad7cfab1f0.zip
k5-int.h: Added clockskew, kdc_req_sumtype, and kdc_default_options to
the krb5_context structure. krb5.hin: Added expected nonce and request_time fields to the krb5_response structure. The fields are used to pass information from krb5_send_tgs() to krb5_get_cred_via_tkt() so that it can do sanity checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6654 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog8
-rw-r--r--src/include/k5-int.h18
-rw-r--r--src/include/krb5.hin2
3 files changed, 22 insertions, 6 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 42c0913da..22dfcdf01 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,5 +1,13 @@
Fri Sep 1 00:44:59 1995 Theodore Y. Ts'o <tytso@dcl>
+ * k5-int.h: Added clockskew, kdc_req_sumtype, and
+ kdc_default_options to the krb5_context structure.
+
+ * krb5.hin: Added expected nonce and request_time fields to the
+ krb5_response structure. The fields are used to pass
+ information from krb5_send_tgs() to
+ krb5_get_cred_via_tkt() so that it can do sanity checking.
+
* k5-int.h: Add time offset field to the os_context structure.
This offset is added to the system clock time to produce
the "true" time.
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index d4031dd12..e70dd97c9 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -891,16 +891,22 @@ typedef unsigned long profile_t;
struct _krb5_context {
krb5_magic magic;
- krb5_enctype FAR *etypes;
+ krb5_enctype FAR *etypes;
int etype_count;
- void FAR *os_context;
- char FAR *default_realm;
- profile_t profile;
- void FAR *db_context;
+ void FAR *os_context;
+ char FAR *default_realm;
+ profile_t profile;
+ void FAR *db_context;
int ser_ctx_count;
- void FAR *ser_ctx;
+ void FAR *ser_ctx;
+ krb5_deltat clockskew; /* allowable clock skew */
+ krb5_cksumtype kdc_req_sumtype;
+ krb5_flags kdc_default_options;
+ krb5_flags library_options;
};
+#define KRB5_LIBOPT_SYNC_KDCTIME 0x0001
+
/*
* Begin "asn1.h"
*/
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index 76a2a36d8..bbb2533d6 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -874,6 +874,8 @@ typedef struct _krb5_response {
krb5_magic magic;
krb5_octet message_type;
krb5_data response;
+ krb5_int32 expected_nonce; /* The expected nonce for KDC_REP messages */
+ krb5_timestamp request_time; /* When we made the request */
} krb5_response;
typedef struct _krb5_safe {