Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal/dist/kcm don't forget to initial...



details:   https://anonhg.NetBSD.org/src/rev/2d3469b24b6e
branches:  trunk
changeset: 321809:2d3469b24b6e
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 06 19:56:43 2018 +0000

description:
don't forget to initialize the kdc_offset (it was random before)

diffstat:

 crypto/external/bsd/heimdal/dist/kcm/cache.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 41a9e2d69ffe -r 2d3469b24b6e crypto/external/bsd/heimdal/dist/kcm/cache.c
--- a/crypto/external/bsd/heimdal/dist/kcm/cache.c      Fri Apr 06 19:00:08 2018 +0000
+++ b/crypto/external/bsd/heimdal/dist/kcm/cache.c      Fri Apr 06 19:56:43 2018 +0000
@@ -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 @@
     slot->key.keytab = NULL;
     slot->tkt_life = 0;
     slot->renew_life = 0;
+    slot->kdc_offset = 0;
 
     if (new_slot)
        ccache_head = slot;



Home | Main Index | Thread Index | Old Index