aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-07-12 15:16:01 +0000
committerXin LI <delphij@FreeBSD.org>2017-07-12 15:16:01 +0000
commita4f37dd7ce0c1683d9683d0ae2c85a68e2d7561d (patch)
tree6df71ce2d1afd4d1f135919d1463eec210e8bb15
parentcf06afb78ab598209805c440a0c4cdc11dd2f278 (diff)
downloadsrc-a4f37dd7ce0c1683d9683d0ae2c85a68e2d7561d.tar.gz
src-a4f37dd7ce0c1683d9683d0ae2c85a68e2d7561d.zip
Add the missed Heimdal patch, freebsd-update bits are not affected.
Noticed by: gordon Approved by: so
Notes
Notes: svn path=/releng/10.3/; revision=320915
-rw-r--r--crypto/heimdal/lib/krb5/ticket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/heimdal/lib/krb5/ticket.c b/crypto/heimdal/lib/krb5/ticket.c
index 4845a93d9446..5b6eabe2b0e0 100644
--- a/crypto/heimdal/lib/krb5/ticket.c
+++ b/crypto/heimdal/lib/krb5/ticket.c
@@ -713,8 +713,8 @@ _krb5_extract_ticket(krb5_context context,
/* check server referral and save principal */
ret = _krb5_principalname2krb5_principal (context,
&tmp_principal,
- rep->kdc_rep.ticket.sname,
- rep->kdc_rep.ticket.realm);
+ rep->enc_part.sname,
+ rep->enc_part.srealm);
if (ret)
goto out;
if((flags & EXTRACT_TICKET_ALLOW_SERVER_MISMATCH) == 0){