From f5db59fc21f172a2a71ed0c10f249efaa7ad794e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 27 Jun 2003 20:53:09 +0000 Subject: Key generation and signing using the OpenPGP card does rudimentary work. --- common/maperror.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/maperror.c') 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) + + + + -- cgit