Fix last change.
authorMarcus Brinkmann <mb@g10code.com>
Mon, 6 Oct 2003 19:22:21 +0000 (19:22 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 6 Oct 2003 19:22:21 +0000 (19:22 +0000)
gpgme/engine-gpgsm.c

index 319e626..486c745 100644 (file)
@@ -153,7 +153,7 @@ static gpgme_error_t
 map_assuan_error (AssuanError err)
 {
   if (err == -1)
-    return gpg_error (GPG_ERR_GENERAL);
+    return gpg_error (GPG_ERR_INV_ENGINE);
 
   /* New code will use gpg_error_t values.  */
   if (gpg_err_source (err))