From 372714d2cbb87182a374ab2a5ecc4833d107425b Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Thu, 9 Jun 2016 12:00:50 +0100 Subject: [PATCH] Include statistics for fetching by SKS hash in "keydctl status" These statistics were already being collected and passed to keydctl, but were not being displayed. --- keydctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keydctl.c b/keydctl.c index 1aa5d59..25d5f45 100644 --- a/keydctl.c +++ b/keydctl.c @@ -175,6 +175,8 @@ static void keyd_status(void) stats.command_stats[KEYD_CMD_GET_ID]); printf(" Get key by FP: %d\n", stats.command_stats[KEYD_CMD_GET_FP]); + printf(" Get key by hash: %d\n", + stats.command_stats[KEYD_CMD_GET_SKSHASH]); printf(" Store key: %d\n", stats.command_stats[KEYD_CMD_STORE]); printf(" Delete key: %d\n", -- 2.39.2