summaryrefslogtreecommitdiff
path: root/lib/nickserver/wkd/source.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-11-03 14:33:51 +0100
committerAzul <azul@riseup.net>2017-11-03 14:33:51 +0100
commitec996134a1f23ee36aff9d3ad2c800af71623207 (patch)
tree5b722078b32061dd662f1ae1db625812ab0d9c8e /lib/nickserver/wkd/source.rb
parent61ebd2908da912ee269dbeb71b5bddc2b50efbb2 (diff)
fix: no expiration date means not outdated
We were using Time.at(expirationdate) even if it was nil which led to using the Time.at(0). Instead an unset expirationdate is meant to not expire the key at all. Our tests did not catch this because the assertions were in blocks that did not get run at all. (at least in the HKP integration test).
Diffstat (limited to 'lib/nickserver/wkd/source.rb')
0 files changed, 0 insertions, 0 deletions