aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 2b6ee9f06..c75856f5f 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -1016,7 +1016,7 @@ list_keyblock_print (ctrl_t ctrl, kbnode_t keyblock, int secret, int fpr,
if (!agent_get_keyinfo (NULL, hexgrip, &serialno, NULL))
secret = serialno? 3 : 1;
else
- secret = '2'; /* Key not found. */
+ secret = 2; /* Key not found. */
}
/* Print the "sub" line. */