Add krb5_c_keylength.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18966 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -325,3 +325,11 @@ krb5_c_make_random_key(krb5_context context,
|
|||||||
{
|
{
|
||||||
return krb5_generate_random_keyblock(context, enctype, random_key);
|
return krb5_generate_random_keyblock(context, enctype, random_key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
krb5_error_code KRB5_LIB_FUNCTION
|
||||||
|
krb5_c_keylength(krb5_context context,
|
||||||
|
krb5_enctype enctype,
|
||||||
|
size_t *len)
|
||||||
|
{
|
||||||
|
return krb5_enctype_keysize(context, enctype, len);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user