svn rev #24892: trunk/src/lib/gssapi/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Apr 21 12:54:31 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24892
Commit By: ghudson
Log Message:
Remove kg_map_toktype(), as the call sites were removed in r21742.



Changed Files:
U   trunk/src/lib/gssapi/krb5/gssapiP_krb5.h
U   trunk/src/lib/gssapi/krb5/util_crypt.c
Modified: trunk/src/lib/gssapi/krb5/gssapiP_krb5.h
===================================================================
--- trunk/src/lib/gssapi/krb5/gssapiP_krb5.h	2011-04-20 15:48:20 UTC (rev 24891)
+++ trunk/src/lib/gssapi/krb5/gssapiP_krb5.h	2011-04-21 16:54:31 UTC (rev 24892)
@@ -469,8 +469,6 @@
         gss_iov_buffer_desc *iov,
         int iov_count);
 
-int kg_map_toktype(int proto, int toktype);
-
 krb5_boolean kg_integ_only_iov(gss_iov_buffer_desc *iov, int iov_count);
 
 krb5_error_code kg_allocate_iov(gss_iov_buffer_t iov, size_t size);

Modified: trunk/src/lib/gssapi/krb5/util_crypt.c
===================================================================
--- trunk/src/lib/gssapi/krb5/util_crypt.c	2011-04-20 15:48:20 UTC (rev 24891)
+++ trunk/src/lib/gssapi/krb5/util_crypt.c	2011-04-21 16:54:31 UTC (rev 24892)
@@ -754,32 +754,6 @@
     return GSS_S_COMPLETE;
 }
 
-int
-kg_map_toktype(int proto, int toktype)
-{
-    int toktype2;
-
-    if (proto)
-        switch (toktype) {
-        case KG_TOK_SIGN_MSG:
-            toktype2 = KG2_TOK_MIC_MSG;
-            break;
-        case KG_TOK_WRAP_MSG:
-            toktype2 = KG2_TOK_WRAP_MSG;
-            break;
-        case KG_TOK_DEL_CTX:
-            toktype2 = KG2_TOK_DEL_CTX;
-            break;
-        default:
-            toktype2 = toktype;
-            break;
-        }
-    else
-        toktype2 = toktype;
-
-    return toktype2;
-}
-
 krb5_boolean
 kg_integ_only_iov(gss_iov_buffer_desc *iov, int iov_count)
 {




More information about the cvs-krb5 mailing list