aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scd/command.c b/scd/command.c
index 159c6f2dc..98095f259 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -2077,11 +2077,11 @@ cmd_keyinfo (assuan_context_t ctx, char *line)
if (has_option (line, "--list"))
cap = 0;
else if (has_option (line, "--list=sign"))
- cap = 1;
+ cap = GCRY_PK_USAGE_SIGN;
else if (has_option (line, "--list=encr"))
- cap = 2;
+ cap = GCRY_PK_USAGE_ENCR;
else if (has_option (line, "--list=auth"))
- cap = 3;
+ cap = GCRY_PK_USAGE_AUTH;
else
keygrip_str = line;