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);
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)
{