number mask.
ticket: 1262
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15480
dc483132-0cff-0310-8789-
dd5450dbe970
2003-05-22 Tom Yu <tlyu@mit.edu>
+ * gen_seqnum.c (krb5_generate_seq_number): Fix think-o on sequence
+ number mask.
+
* auth_con.c (krb5int_auth_con_chkseqnum): New function; implement
heuristic for broken Heimdal sequence number encoding.
(chk_heimdal_seqnum): Auxiliary function for above.
* for about 2^30 messages to be sent before wrapping into
* "negative" numbers.
*/
- *seqno &= 0x5ffffff;
+ *seqno &= 0x3ffffff;
if (*seqno == 0)
*seqno = 1;
return 0;