don't forget to initialize the kdc_offset (it was random before)
This commit is contained in:
parent
2f405e0803
commit
2e9ba29a65
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cache.c,v 1.3 2017/01/28 21:31:44 christos Exp $ */
|
||||
/* $NetBSD: cache.c,v 1.4 2018/04/06 19:56:43 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005, PADL Software Pty Ltd.
|
||||
|
@ -324,6 +324,7 @@ kcm_ccache_alloc(krb5_context context,
|
|||
slot->key.keytab = NULL;
|
||||
slot->tkt_life = 0;
|
||||
slot->renew_life = 0;
|
||||
slot->kdc_offset = 0;
|
||||
|
||||
if (new_slot)
|
||||
ccache_head = slot;
|
||||
|
|
Loading…
Reference in New Issue