From fdeda13512d0a90457ca0004d4cc1e9c8e8c410a Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 29 Mar 2002 05:05:27 +0000 Subject: Add krb5_init_keyblock git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14312 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 4 ++++ src/include/krb5.hin | 9 +++++++++ 2 files changed, 13 insertions(+) (limited to 'src/include') diff --git a/src/include/ChangeLog b/src/include/ChangeLog index c1bf46f2f..31b99b289 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2002-03-28 Sam Hartman + + * krb5.hin: krb5_init_keyblock new function. + 2002-03-28 Ken Raeburn * k5-int.h: Include errno.h. diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 348d803d5..743fdfc61 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 *, -- cgit