daemon/lua/trust_anchors: don't crash when dealing with unknown algorhitm
Compare changes
- Petr Špaček authored
It was unused since cleanup in trust_anchors and just cluttering the code.
+ 9
− 21
@@ -56,7 +56,7 @@ local function ta_find(keyset, rr)
@@ -100,20 +100,9 @@ if ta then
@@ -145,8 +134,7 @@ local function ta_missing(ta, hold_down_time)
@@ -185,7 +173,7 @@ local function update(keyset, new_keys, is_initial)
@@ -205,7 +193,7 @@ local function update(keyset, new_keys, is_initial)
@@ -215,7 +203,7 @@ local function active_refresh(keyset, pkt, is_initial)
@@ -230,7 +218,7 @@ local function active_refresh(keyset, pkt, is_initial)
@@ -245,7 +233,7 @@ local function refresh_plan(keyset, delay, is_initial)
@@ -274,7 +262,7 @@ function ta_update.start(zname)