chiark / gitweb /
site: Generalise deletion and timeout of keys
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 21 Jun 2012 01:12:43 +0000 (02:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Jul 2012 19:02:22 +0000 (20:02 +0100)
commit1d38856958136dc28a9d16f58a55f75867cdc57d
tree0cbb9a265468c5c19bb65d57ed7a9b24cd7e6d17
parent19e9a588dc058584fbda9d31080a2581c3fd5269
site: Generalise deletion and timeout of keys

Introduce delete_one_key, and rename delete_key to delete_keys.  We
distinguish, now, between deleting a single key, and deleting all the
keys for this site.

The expiry check calls delete_one_key rather than delete_keys, and is
likewise done with a helper function.

No functional change other than to the key expiry log message.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c