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
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.
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"
*/
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 {