svn rev #23908: branches/iakerb/src/lib/gssapi/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Apr 20 03:42:57 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23908
Commit By: ghudson
Log Message:
In iakerb.c, use symbolic names for *_creds_step() continue flags, now
that they exist.



Changed Files:
U   branches/iakerb/src/lib/gssapi/krb5/iakerb.c
Modified: branches/iakerb/src/lib/gssapi/krb5/iakerb.c
===================================================================
--- branches/iakerb/src/lib/gssapi/krb5/iakerb.c	2010-04-20 07:41:09 UTC (rev 23907)
+++ branches/iakerb/src/lib/gssapi/krb5/iakerb.c	2010-04-20 07:42:57 UTC (rev 23908)
@@ -599,7 +599,7 @@
                                     &flags);
         if (code != 0)
             goto cleanup;
-        if ((flags & 1) != 1) {
+        if (!(flags & KRB5_INIT_CREDS_STEP_FLAG_CONTINUE)) {
             krb5_init_creds_get_times(ctx->k5c, ctx->u.icc, &times);
             cred->tgt_expire = times.endtime;
 
@@ -625,7 +625,7 @@
                                    &flags);
         if (code != 0)
             goto cleanup;
-        if ((flags & 1) != 1) {
+        if (!(flags & KRB5_TKT_CREDS_STEP_FLAG_CONTINUE)) {
             krb5_tkt_creds_get_times(ctx->k5c, ctx->u.tcc, &times);
             cred->tgt_expire = times.endtime;
 




More information about the cvs-krb5 mailing list