wks: Add --cron command to gpg-wks-server.
authorWerner Koch <wk@gnupg.org>
Tue, 12 Jul 2016 18:18:22 +0000 (20:18 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 12 Jul 2016 18:18:22 +0000 (20:18 +0200)
commit38eb5f81d223616e3ee34bdfb41c387ce4e7df22
tree668b7bc8930df9daf4ec6c50cc808cdcaee3f359
parent5de41c4ecef32add89044b8a550a47cce8c6d61e
wks: Add --cron command to gpg-wks-server.

* tools/gpg-wks-server.c (PENDING_TTL): New.
(expire_one_domain, expire_pending_confirmations): New.
(command_cron): New.
(main): Implement --cron.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/gpg-wks-server.c