summaryrefslogtreecommitdiffstats
path: root/src/include/krb5.hin
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2002-03-29 05:05:27 +0000
committerSam Hartman <hartmans@mit.edu>2002-03-29 05:05:27 +0000
commitfdeda13512d0a90457ca0004d4cc1e9c8e8c410a (patch)
treede908ae979d5a46c9e7eb9976eda38913839a5cf /src/include/krb5.hin
parent6d00f0ec4c4423d1836b546a3be0700b8bde7489 (diff)
downloadkrb5-fdeda13512d0a90457ca0004d4cc1e9c8e8c410a.tar.gz
krb5-fdeda13512d0a90457ca0004d4cc1e9c8e8c410a.tar.xz
krb5-fdeda13512d0a90457ca0004d4cc1e9c8e8c410a.zip
Add krb5_init_keyblock
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14312 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5.hin')
-rw-r--r--src/include/krb5.hin9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index 348d803d57..743fdfc616 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -1483,6 +1483,15 @@ krb5_boolean KRB5_CALLCONV krb5_principal_compare
(krb5_context,
krb5_const_principal,
krb5_const_principal);
+krb5_error_code KRB5_CALLCONV krb5_init_keyblock
+ (krb5_context, krb5_enctype enctype,
+ size_t length, krb5_keyblock **out);
+ /* Initialize a new keyblock and allocate storage
+ * for the contents of the key, which will be freed along
+ * with the keyblock when krb5_free_keyblock is called.
+ * It is legal to pass in a length of 0, in which
+ * case contents are left unallocated.
+ */
krb5_error_code KRB5_CALLCONV krb5_copy_keyblock
(krb5_context,
const krb5_keyblock *,