krb5 commit: Correct type mismatches for get_as_key callbacks
Greg Hudson
ghudson at MIT.EDU
Mon Oct 15 11:56:28 EDT 2012
https://github.com/krb5/krb5/commit/665703115517c12c6780b2646fcb1de015a03f13
commit 665703115517c12c6780b2646fcb1de015a03f13
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Fri Oct 12 13:03:24 2012 -0400
Correct type mismatches for get_as_key callbacks
src/lib/krb5/krb/in_tkt_sky.c | 3 ++-
src/lib/krb5/krb/s4u_creds.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c
index bd8b771..d1b69c6 100644
--- a/src/lib/krb5/krb/in_tkt_sky.c
+++ b/src/lib/krb5/krb/in_tkt_sky.c
@@ -32,7 +32,8 @@ static krb5_error_code
get_as_key_skey(krb5_context context, krb5_principal client,
krb5_enctype etype, krb5_prompter_fct prompter,
void *prompter_data, krb5_data *salt, krb5_data *params,
- krb5_keyblock *as_key, void *gak_data)
+ krb5_keyblock *as_key, void *gak_data,
+ k5_response_items *ritems)
{
const krb5_keyblock *key = gak_data;
diff --git a/src/lib/krb5/krb/s4u_creds.c b/src/lib/krb5/krb/s4u_creds.c
index 6a1bcc3..b3c536c 100644
--- a/src/lib/krb5/krb/s4u_creds.c
+++ b/src/lib/krb5/krb/s4u_creds.c
@@ -45,7 +45,8 @@ krb5_get_as_key_noop(
krb5_data *salt,
krb5_data *params,
krb5_keyblock *as_key,
- void *gak_data)
+ void *gak_data,
+ k5_response_items *ritems)
{
/* force a hard error, we don't actually have the key */
return KRB5_PREAUTH_FAILED;
More information about the cvs-krb5
mailing list