krb5 commit: Fix two IAKERB comments

Greg Hudson ghudson at mit.edu
Tue Oct 27 11:31:36 EDT 2015


https://github.com/krb5/krb5/commit/92d6dd045dfc06cc03d20b327a6ee7a71e6bc24d
commit 92d6dd045dfc06cc03d20b327a6ee7a71e6bc24d
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Oct 27 00:44:24 2015 -0400

    Fix two IAKERB comments
    
    The comment explaining why there is no iakerb_gss_import_sec_context()
    erroneously referenced SPNEGO instead of IAKERB (noticed by Ben
    Kaduk).  The comment above iakerb_gss_delete_sec_context() is out of
    date after the last commit.

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

diff --git a/src/lib/gssapi/krb5/iakerb.c b/src/lib/gssapi/krb5/iakerb.c
index 4662bd9..e25862d 100644
--- a/src/lib/gssapi/krb5/iakerb.c
+++ b/src/lib/gssapi/krb5/iakerb.c
@@ -727,10 +727,6 @@ cleanup:
     return code;
 }
 
-/*
- * Delete an IAKERB context. This can also accept Kerberos context
- * handles. The heuristic is similar to SPNEGO's delete_sec_context.
- */
 OM_uint32 KRB5_CALLCONV
 iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
                               gss_ctx_id_t *context_handle,
@@ -1077,7 +1073,7 @@ iakerb_gss_export_sec_context(OM_uint32 *minor_status,
 }
 
 /*
- * Until we implement partial context exports, there are no SPNEGO exported
+ * Until we implement partial context exports, there are no IAKERB exported
  * context tokens, only tokens for the underlying krb5 context.  So we do not
  * need to implement an iakerb_gss_import_sec_context() yet; it would be
  * unreachable except via a manually constructed token.


More information about the cvs-krb5 mailing list