Fix bug which causes krb524 to create V4 tickets with the wrong realm
authorTheodore Tso <tytso@mit.edu>
Wed, 15 Dec 1993 18:17:51 +0000 (18:17 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 15 Dec 1993 18:17:51 +0000 (18:17 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3185 dc483132-0cff-0310-8789-dd5450dbe970

src/krb524/conv_tkt_skey.c

index d82f7c112d01a5e6e77c04968bbec43ee062eb0d..adc6a592f1a7e3cbd9419001aeda06fdb830951b 100644 (file)
@@ -98,7 +98,7 @@ int krb524_convert_tkt_skey(krb5_ticket *v5tkt, KTEXT_ST *v4tkt,
                             0, /* flags */                          
                             pname,
                             pinst,
-                            krb5_princ_realm(v5etkt->client),
+                            prealm,
                             *((unsigned long *)v5etkt->caddrs[0]->contents),
                             v5etkt->session->contents,
                             lifetime,