diff options
author | Werner Koch <wk@gnupg.org> | 2002-06-28 16:04:46 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-06-28 16:04:46 +0200 |
commit | 9c70a2ed2084aad9c69317cd0950328eaf10516d (patch) | |
tree | 38158d5d49b99a354957e5ab1aff17f18d21a1aa /sm/server.c | |
parent | * protect-tool.c (export_p12_file): New. (diff) | |
download | gnupg2-9c70a2ed2084aad9c69317cd0950328eaf10516d.tar.xz gnupg2-9c70a2ed2084aad9c69317cd0950328eaf10516d.zip |
* server.c (cmd_recipient): Add more reason codes.
Diffstat (limited to 'sm/server.c')
-rw-r--r-- | sm/server.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sm/server.c b/sm/server.c index 47d870d6b..4a8a8c40a 100644 --- a/sm/server.c +++ b/sm/server.c @@ -243,7 +243,14 @@ cmd_recipient (ASSUAN_CONTEXT ctx, char *line) if (rc) gpgsm_status2 (ctrl, STATUS_INV_RECP, rc == -1? "1": - rc == GNUPG_Ambiguous_Name? "2 ": "0 ", + rc == GNUPG_Ambiguous_Name? "2 ": + rc == GNUPG_Wrong_Key_Usage? "3 ": + rc == GNUPG_Certificate_Revoked? "4 ": + rc == GNUPG_Certificate_Expired? "5 ": + rc == GNUPG_No_CRL_Known? "6 ": + rc == GNUPG_CRL_Too_Old? "8 ": + rc == GNUPG_No_Policy_Match? "8 ": + "0 ", line, NULL); return map_to_assuan_status (rc); |