From 56447445f332f6a19eea54cec5353176b601dde9 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Tue, 19 Mar 2019 15:33:57 +0100 Subject: [PATCH] ta_update: remove useless initialization It's impossible to add managed keysets unless ta_update is loaded, in which case ta_update.start() is called by trust_anchors.add_file(). On ta_update unload, previously managed keys are flagged as unmanaged. --- modules/ta_update/ta_update.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/ta_update/ta_update.lua b/modules/ta_update/ta_update.lua index 9604da089..4792f85ad 100644 --- a/modules/ta_update/ta_update.lua +++ b/modules/ta_update/ta_update.lua @@ -273,15 +273,6 @@ function ta_update.stop(zname) end end --- immediatelly schedule key refresh for all managed TAs -function ta_update.init() - for zname, keyset in pairs(trust_anchors.keysets) do - if keyset.managed then - ta_update.start(zname) - end - end -end - -- stop all timers function ta_update.deinit() for zname, _ in pairs(tracked_tas) do -- 2.47.3