summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorZhanna Tsitkov <tsitkova@mit.edu>2008-11-17 19:28:24 +0000
committerZhanna Tsitkov <tsitkova@mit.edu>2008-11-17 19:28:24 +0000
commit7a4fbc070e7fc9e67a86af6cc70f84420f876a80 (patch)
tree3b17f9f0519408002779833e250559b322dfa77b /src/include
parentc4da687dec360a4cf7aad6a27655f51f2aae8cce (diff)
downloadkrb5-7a4fbc070e7fc9e67a86af6cc70f84420f876a80.tar.gz
krb5-7a4fbc070e7fc9e67a86af6cc70f84420f876a80.tar.xz
krb5-7a4fbc070e7fc9e67a86af6cc70f84420f876a80.zip
PERF: Introduced a new function krb5_is_permitted_enctype_ext to replace multiple calls to krb5_is_permitted_enctype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21128 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 3052d7be8..0fd5f5243 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -2282,6 +2282,16 @@ void KRB5_CALLCONV krb5_free_ktypes
krb5_boolean krb5_is_permitted_enctype
(krb5_context, krb5_enctype);
+typedef struct
+{
+ krb5_enctype *etype;
+ krb5_boolean *etype_ok;
+ krb5_int32 etype_count;
+} krb5_etypes_permitted;
+
+krb5_boolean krb5_is_permitted_enctype_ext
+ ( krb5_context, krb5_etypes_permitted *);
+
krb5_error_code krb5_kdc_rep_decrypt_proc
(krb5_context,
const krb5_keyblock *,