From faa82b38909e0404267c04ca2644910b6384aefd Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 22 Nov 2009 12:22:59 -0800 Subject: [PATCH] support EXTRACT_TICKET_TIMESYNC --- lib/krb5/ticket.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/krb5/ticket.c b/lib/krb5/ticket.c index 789693ec6..19ca1bc3b 100644 --- a/lib/krb5/ticket.c +++ b/lib/krb5/ticket.c @@ -3,6 +3,8 @@ * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * + * Portions Copyright (c) 2009 Apple Inc. All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -752,6 +754,7 @@ _krb5_extract_ticket(krb5_context context, krb5_timeofday (context, &sec_now); if (rep->enc_part.flags.initial + && (flags & EXTRACT_TICKET_TIMESYNC) && context->kdc_sec_offset == 0 && krb5_config_get_bool (context, NULL, "libdefaults",