summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 42c0913da3..22dfcdf016 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 d4031dd12e..e70dd97c96 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 76a2a36d86..bbb2533d63 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 {