krb5 commit: Comment fall-throughs in iakerb switch statement

Greg Hudson ghudson at MIT.EDU
Mon Jul 2 14:13:47 EDT 2012


https://github.com/krb5/krb5/commit/9f24a0effc9435d1823c5ede9a1659d81184ba08
commit 9f24a0effc9435d1823c5ede9a1659d81184ba08
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Jul 2 13:22:37 2012 -0400

    Comment fall-throughs in iakerb switch statement

 src/lib/gssapi/krb5/iakerb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lib/gssapi/krb5/iakerb.c b/src/lib/gssapi/krb5/iakerb.c
index 1d73e2d..2564276 100644
--- a/src/lib/gssapi/krb5/iakerb.c
+++ b/src/lib/gssapi/krb5/iakerb.c
@@ -573,6 +573,7 @@ iakerb_initiator_step(iakerb_ctx_id_t ctx,
         } else
             break;
         in = empty_data();
+        /* Done with AS request; fall through to TGS request. */
     case IAKERB_TGS_REQ:
         if (ctx->tcc == NULL) {
             code = iakerb_tkt_creds_ctx(ctx, cred, name, time_req);
@@ -594,6 +595,7 @@ iakerb_initiator_step(iakerb_ctx_id_t ctx,
             ctx->state = IAKERB_AP_REQ;
         } else
             break;
+        /* Done with TGS request; fall through to AP request. */
     case IAKERB_AP_REQ:
         break;
     }


More information about the cvs-krb5 mailing list