1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* call-dirmngr.c (gpgsm_dirmngr_isvalid): print status of dirmngr

call in very verbose mode.

* gpgsm.c (main): Use the same error codes for STATUS_INV_RECP as
with the server mode.
This commit is contained in:
Werner Koch 2002-07-02 09:26:05 +00:00
parent 4b0497a2a9
commit 5faca753cb
3 changed files with 25 additions and 1 deletions

View file

@ -1068,7 +1068,14 @@ main ( int argc, char **argv)
sl->d, gnupg_strerror (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 ",
sl->d, NULL);
}
}