krb5: add krb5_store_datalen()

Store a data blob to the storage. The data is stored with an int32 as
length plus the data (not padded).  This function only differs from
krb5_store_data() insofar as it takes a void * and a length as parameters.

Patch from Roland C. Dowdeswell <elric@imrryr.org>
This commit is contained in:
Luke Howard
2021-08-06 19:21:12 +10:00
parent 8330e45444
commit 4e359bd5ce
3 changed files with 24 additions and 0 deletions

View File

@@ -653,6 +653,7 @@ HEIMDAL_KRB5_2.0 {
krb5_store_creds;
krb5_store_creds_tag;
krb5_store_data;
krb5_store_datalen;
krb5_store_int16;
krb5_store_int32;
krb5_store_int64;