From daa74501d671721028c515b3c66edfa5e2f62463 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 21 Apr 2011 16:54:31 +0000 Subject: [PATCH] Remove kg_map_toktype(), as the call sites were removed in r21742 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24892 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/gssapiP_krb5.h | 2 -- src/lib/gssapi/krb5/util_crypt.c | 26 -------------------------- 2 files changed, 28 deletions(-) diff --git a/src/lib/gssapi/krb5/gssapiP_krb5.h b/src/lib/gssapi/krb5/gssapiP_krb5.h index 2cb4e9098..5453fc03d 100644 --- a/src/lib/gssapi/krb5/gssapiP_krb5.h +++ b/src/lib/gssapi/krb5/gssapiP_krb5.h @@ -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); diff --git a/src/lib/gssapi/krb5/util_crypt.c b/src/lib/gssapi/krb5/util_crypt.c index cd431ce34..d1b83763a 100644 --- a/src/lib/gssapi/krb5/util_crypt.c +++ b/src/lib/gssapi/krb5/util_crypt.c @@ -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) { -- 2.26.2