krb5 commit: Fix argument order when calling the responder
Greg Hudson
ghudson at MIT.EDU
Wed Oct 10 12:01:00 EDT 2012
https://github.com/krb5/krb5/commit/1390ccbecf165740fe006d36a2eff3b8a6bba3d1
commit 1390ccbecf165740fe006d36a2eff3b8a6bba3d1
Author: Nathaniel McCallum <npmccallum at redhat.com>
Date: Mon Oct 8 08:16:34 2012 -0400
Fix argument order when calling the responder
src/lib/krb5/krb/preauth2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c
index 1153175..cf46845 100644
--- a/src/lib/krb5/krb/preauth2.c
+++ b/src/lib/krb5/krb/preauth2.c
@@ -929,8 +929,8 @@ krb5_do_preauth(krb5_context context, krb5_kdc_req *request,
/* Call the responder to answer response items. */
if (responder != NULL && !k5_response_items_empty(rock->rctx.items)) {
- ret = (*responder)(context, opte->opt_private->responder_data,
- &rock->rctx);
+ ret = (*responder)(context, &rock->rctx,
+ opte->opt_private->responder_data);
if (ret)
goto error;
}
More information about the cvs-krb5
mailing list