diff options
author | Tom Yu <tlyu@mit.edu> | 2003-05-18 05:16:05 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2003-05-18 05:16:05 +0000 |
commit | 4dbf3745bb68a87427a4044c846427d816a43bbc (patch) | |
tree | 03980d6af55bb6003cafa954e1eebb5435cb8647 /src/include/krb5.hin | |
parent | 955e7a919ce821648b70497f3129a4697cdbe813 (diff) | |
download | krb5-4dbf3745bb68a87427a4044c846427d816a43bbc.tar.gz krb5-4dbf3745bb68a87427a4044c846427d816a43bbc.tar.xz krb5-4dbf3745bb68a87427a4044c846427d816a43bbc.zip |
Sequence numbers are now unsigned. Implement lenient parser for
sequence numbers which folds received negative sequence numbers into
positive unsigned numbers. Constrain the space of initial sequence
numbers to facilitate backwards compatibility.
ticket: 1262
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15457 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5.hin')
-rw-r--r-- | src/include/krb5.hin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 310eb39768..0bf822e4ab 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -974,7 +974,7 @@ typedef struct _krb5_authenticator { krb5_int32 cusec; /* client usec portion */ krb5_timestamp ctime; /* client sec portion */ krb5_keyblock *subkey; /* true session key, optional */ - krb5_int32 seq_number; /* sequence #, optional */ + krb5_ui_4 seq_number; /* sequence #, optional */ krb5_authdata **authorization_data; /* New add by Ari, auth data */ } krb5_authenticator; @@ -1100,7 +1100,7 @@ typedef struct _krb5_ap_rep_enc_part { krb5_timestamp ctime; /* client time, seconds portion */ krb5_int32 cusec; /* client time, microseconds portion */ krb5_keyblock *subkey; /* true session key, optional */ - krb5_int32 seq_number; /* sequence #, optional */ + krb5_ui_4 seq_number; /* sequence #, optional */ } krb5_ap_rep_enc_part; typedef struct _krb5_response { @@ -1644,7 +1644,7 @@ krb5_error_code krb5_generate_subkey const krb5_keyblock *, krb5_keyblock **); krb5_error_code krb5_generate_seq_number (krb5_context, - const krb5_keyblock *, krb5_int32 *); + const krb5_keyblock *, krb5_ui_4 *); #endif krb5_error_code KRB5_CALLCONV krb5_get_server_rcache (krb5_context, |