Remove kg_map_toktype(), as the call sites were removed in r21742
authorGreg Hudson <ghudson@mit.edu>
Thu, 21 Apr 2011 16:54:31 +0000 (16:54 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 21 Apr 2011 16:54:31 +0000 (16:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24892 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/util_crypt.c

index 2cb4e9098bff7efddf27f956c37b71d48c8be7bd..5453fc03d44792bd3f1e7bfed0dc3d8c67e38167 100644 (file)
@@ -469,8 +469,6 @@ OM_uint32 kg_fixup_padding_iov(OM_uint32 *minor_status,
         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);
index cd431ce349893283ac11bb3e3ceb75642a2f7da3..d1b83763a64cea1df9ada324a643770b8bf98a28 100644 (file)
@@ -754,32 +754,6 @@ kg_fixup_padding_iov(OM_uint32 *minor_status, gss_iov_buffer_desc *iov,
     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)
 {