From: Jonathan McDowell Date: Thu, 9 Jun 2016 11:00:50 +0000 (+0100) Subject: Include statistics for fetching by SKS hash in "keydctl status" X-Git-Tag: onak-0.5.0~16 X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=372714d2cbb87182a374ab2a5ecc4833d107425b 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. --- 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",