Use was_not_called without check args match
This commit is contained in:
parent
724646bd73
commit
16f970d8bb
2 changed files with 3 additions and 3 deletions
|
|
@ -102,7 +102,7 @@ local function handle_servers()
|
|||
|
||||
for uid, cert in pairs(configuration.certificates) do
|
||||
local old_cert = certificate_data:get(uid)
|
||||
if old_cert ~= cert then
|
||||
if old_cert ~= nil and old_cert ~= cert then
|
||||
ocsp_response_cache:delete(uid)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue