summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-06-07 12:58:26 -0400
committerGreg Hudson <ghudson@mit.edu>2012-06-07 12:58:26 -0400
commit1523033c95693c635c53dcc990b9269771e80707 (patch)
tree7be5a6b940b5f91c37f33bd6a0b5adcd82e70366 /src/lib/krb5/ccache
parent7d1caa110226f85b4001a97afa05ef479018c511 (diff)
downloadkrb5-1523033c95693c635c53dcc990b9269771e80707.tar.gz
krb5-1523033c95693c635c53dcc990b9269771e80707.tar.xz
krb5-1523033c95693c635c53dcc990b9269771e80707.zip
Rename and add to etype utility functions
Rename krb5int_count_etypes and krb5int_copy_etypes to have k5_ prefixes, and make them available outside of libkrb5 (but not part of the public API). Add k5_etypes_contains to search an etype list, and use it in krb5_is_permitted_enctype.
Diffstat (limited to 'src/lib/krb5/ccache')
-rw-r--r--src/lib/krb5/ccache/cc_retr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/cc_retr.c b/src/lib/krb5/ccache/cc_retr.c
index 52ea8cdfe8..23d0361c37 100644
--- a/src/lib/krb5/ccache/cc_retr.c
+++ b/src/lib/krb5/ccache/cc_retr.c
@@ -277,7 +277,7 @@ krb5_cc_retrieve_cred_default (krb5_context context, krb5_ccache id, krb5_flags
ret = krb5_get_tgs_ktypes (context, mcreds->server, &ktypes);
if (ret)
return ret;
- nktypes = krb5int_count_etypes (ktypes);
+ nktypes = k5_count_etypes (ktypes);
ret = krb5_cc_retrieve_cred_seq (context, id, flags, mcreds, creds,
nktypes, ktypes);