[krbdev.mit.edu #6478] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Apr 28 14:00:14 EDT 2009


Regularize the handling of KRB5_AUTH_CONTEXT_RET_SEQUENCE in
krb5_mk_safe, krb5_mk_priv, and krb5_mk_ncred, using krb5_mk_safe as
a baseline.  RET_SEQUENCE now implies DO_SEQUENCE for all three
functions, the sequence number is always incremented if it is used,
and outdata->seq is always set if RET_SEQUENCE is passed.

Note that in the corresponding rd_ functions, RET_SEQUENCE and
DO_SEQUENCE are independent flags, which is not consistent with the
above.  This compromise is intended to preserve compatibility with
any working code which might exist using the RET_SEQUENCE flag.


http://src.mit.edu/fisheye/changelog/krb5/?cs=22288
Commit By: ghudson
Revision: 22288
Changed Files:
U   trunk/src/lib/krb5/krb/mk_cred.c
U   trunk/src/lib/krb5/krb/mk_priv.c
U   trunk/src/lib/krb5/krb/mk_safe.c




More information about the krb5-bugs mailing list