in send_tgs.c:
authorSam Hartman <hartmans@mit.edu>
Tue, 31 Mar 2009 16:50:25 +0000 (16:50 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 31 Mar 2009 16:50:25 +0000 (16:50 +0000)
Encrypt using local_subkey not *subkey

ticket: 6393

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22148 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/send_tgs.c

index cc7b2a1d3e88bf1079038936775c2527668bf514..66a2422eaa6515b8115d6209195ec54d16871d97 100644 (file)
@@ -187,7 +187,7 @@ krb5int_send_tgs(krb5_context context, krb5_flags kdcoptions,
     if ((retval = encode_krb5_authdata(authorization_data, &scratch)))
         goto send_tgs_error_1;
 
-    if ((retval = krb5_encrypt_helper(context, *subkey,
+    if ((retval = krb5_encrypt_helper(context, local_subkey,
                       KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY,
                       scratch,
                       &tgsreq.authorization_data))) {