diff options
author | Werner Koch <[email protected]> | 2003-06-27 20:53:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-06-27 20:53:09 +0000 |
commit | f5db59fc21f172a2a71ed0c10f249efaa7ad794e (patch) | |
tree | 4d6e8c746037a053f972c2da4da1575bb076e4fd /common/maperror.c | |
parent | Finished the bulk of changes for gnupg 1.9. This included switching (diff) | |
download | gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.tar.gz gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.zip |
Key generation and signing using the OpenPGP card does rudimentary work.
Diffstat (limited to 'common/maperror.c')
-rw-r--r-- | common/maperror.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/maperror.c b/common/maperror.c index c6a1135c7..13657bece 100644 --- a/common/maperror.c +++ b/common/maperror.c @@ -129,6 +129,8 @@ map_to_assuan_status (int rc) gpg_err_code_t ec = gpg_err_code (rc); gpg_err_source_t es = gpg_err_source (rc); + if (!rc) + return 0; if (!es) { es = GPG_ERR_SOURCE_USER_4; /* This should not happen, but we @@ -149,3 +151,7 @@ map_to_assuan_status (int rc) + + + + |