summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog4
-rw-r--r--src/include/krb5.hin9
2 files changed, 13 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index c1bf46f2fc..31b99b289d 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-28 Sam Hartman <hartmans@mit.edu>
+
+ * krb5.hin: krb5_init_keyblock new function.
+
2002-03-28 Ken Raeburn <raeburn@mit.edu>
* k5-int.h: Include errno.h.
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 *,