Add krb5_c_random_make_octets() to mit_glue.c

This commit is contained in:
Asanka Herath
2010-09-10 14:03:15 -04:00
committed by Asanka C. Herath
parent 80599fcd94
commit b3797f428b
2 changed files with 7 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ EXPORTS
krb5_c_make_random_key
krb5_c_prf
krb5_c_prf_length
krb5_c_random_make_octets
krb5_c_set_checksum
krb5_c_valid_cksumtype
krb5_c_valid_enctype

View File

@@ -378,6 +378,12 @@ krb5_c_prf(krb5_context context,
return ret;
}
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_c_random_make_octets(krb5_context context, krb5_data * data)
{
return krb5_generate_random_keyblock(context, data->length, data->data);
}
/**
* MIT compat glue
*