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/cbc75517abb0
branches: trunk
changeset: 360921:cbc75517abb0
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 8279b9df9968 -r cbc75517abb0 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