mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* maperror.c (map_to_assuan_status): Map more errorcodes to Bad
Certificate.
This commit is contained in:
parent
9c70a2ed20
commit
0c0b0f5452
@ -1,3 +1,8 @@
|
||||
2002-06-28 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* maperror.c (map_to_assuan_status): Map more errorcodes to Bad
|
||||
Certificate.
|
||||
|
||||
2002-06-26 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.
|
||||
|
@ -202,6 +202,12 @@ map_to_assuan_status (int rc)
|
||||
case 0: break;
|
||||
case GNUPG_Bad_CA_Certificate:
|
||||
case GNUPG_Bad_Certificate:
|
||||
case GNUPG_Wrong_Key_Usage:
|
||||
case GNUPG_Certificate_Revoked:
|
||||
case GNUPG_No_CRL_Known:
|
||||
case GNUPG_CRL_Too_Old:
|
||||
case GNUPG_No_Policy_Match:
|
||||
case GNUPG_Certificate_Expired:
|
||||
rc = ASSUAN_Bad_Certificate;
|
||||
break;
|
||||
case GNUPG_Bad_Certificate_Path: rc = ASSUAN_Bad_Certificate_Path; break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user