From dcc9a3bb91928d7bf3e871fd469a536fa322ad48 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 19 Apr 2006 19:34:55 +0000 Subject: [PATCH] Prototype for krb5_c_prf missing const When krb5_c_prf was added in r17219 to implement RFC 3961 PRF, the prototype for krb5_c_prf has the incomming krb5_data not flagged as const. The implementation usage in the dk_prf.c declare as const. Make everything consistent. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17943 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/k5-int.h b/src/include/k5-int.h index d80db9dc7..d9a464733 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -612,9 +612,10 @@ typedef krb5_error_code (*krb5_str2key_func) (const struct krb5_enc_provider *en const krb5_data *salt, const krb5_data *parm, krb5_keyblock *key); typedef krb5_error_code (*krb5_prf_func)( - const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, + const struct krb5_enc_provider *enc, + const struct krb5_hash_provider *hash, const krb5_keyblock *key, - krb5_data *in, krb5_data *out); + const krb5_data *in, krb5_data *out); struct krb5_keytypes { krb5_enctype etype; -- 2.26.2