]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix a bug in make_request_for_service: use the caller-specified KCD
authorGreg Hudson <ghudson@mit.edu>
Mon, 12 Apr 2010 17:50:43 +0000 (17:50 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 12 Apr 2010 17:50:43 +0000 (17:50 +0000)
options as intended, not the field for options we remember between
request and response.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/iakerb@23885 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/gc_frm_kdc.c

index 20853fd162d177d87b38ec8c456f2a8cae277635..8b957ea76c52bc979eeda60212a7296c171e9cf0 100644 (file)
@@ -280,7 +280,7 @@ make_request_for_service(krb5_context context, krb5_tkt_creds_context ctx,
     int extra_options;
 
     /* Include the caller-specified KDC options in service requests. */
-    extra_options = ctx->kdcopt;
+    extra_options = ctx->req_kdcopt;
 
     /* Automatically set the enc-tkt-in-skey flag for user-to-user requests. */
     if (ctx->in_creds->second_ticket.length != 0 &&