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)
trunk/gpgme/engine-gpgsm.c

index 319e62619e86cc9345a9e705555cdc983a5aac79..486c745891235022d7b14b7a974dbe7a0524a155 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))