diff options
author | Werner Koch <[email protected]> | 2002-06-12 09:56:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-12 09:56:05 +0000 |
commit | 3221ef0add29c939dd7199ab5f0b8fe8be4d3cff (patch) | |
tree | a14cd3611af7f51306ff732c68384d69ca575ba8 /common/maperror.c | |
parent | * protect-tool.c: Add command --show-keygrip (diff) | |
download | gnupg-3221ef0add29c939dd7199ab5f0b8fe8be4d3cff.tar.gz gnupg-3221ef0add29c939dd7199ab5f0b8fe8be4d3cff.zip |
Various changes.
Diffstat (limited to '')
-rw-r--r-- | common/maperror.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/maperror.c b/common/maperror.c index 8b79f51a5..0b4cc0a4d 100644 --- a/common/maperror.c +++ b/common/maperror.c @@ -197,7 +197,10 @@ map_to_assuan_status (int rc) switch (rc) { case 0: break; - case GNUPG_Bad_Certificate: rc = ASSUAN_Bad_Certificate; break; + case GNUPG_Bad_CA_Certificate: + case GNUPG_Bad_Certificate: + rc = ASSUAN_Bad_Certificate; + break; case GNUPG_Bad_Certificate_Path: rc = ASSUAN_Bad_Certificate_Path; break; case GNUPG_Missing_Certificate: rc = ASSUAN_Missing_Certificate; break; case GNUPG_No_Data: rc = ASSUAN_No_Data_Available; break; |