aboutsummaryrefslogtreecommitdiffstats
path: root/g10/apdu.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-10-15 13:16:58 +0000
committerWerner Koch <[email protected]>2004-10-15 13:16:58 +0000
commitc3a51cd17d3a499b14b6329fd9390fa9d73521b7 (patch)
tree868e5aed3a1ec36f25923543e777af353451d63e /g10/apdu.c
parent* gpgkeys_ldap.c (main, show_help): Kludge to implement standard (diff)
downloadgnupg-c3a51cd17d3a499b14b6329fd9390fa9d73521b7.tar.gz
gnupg-c3a51cd17d3a499b14b6329fd9390fa9d73521b7.zip
* README: Mentioned --enable-selinux-support.
* status.h (STATUS_NEED_PASSPHRASE_PIN): New. * status.c (get_status_string): Added. * passphrase.c (ask_passphrase): Moved status printing to .. * cardglue.c (pin_cb): .. here and issue new status message. * keyedit.c (sign_uids): Don't include the leading LF in the translatable string but print them separately. * apdu.c (apdu_open_remote_reader) [_WIN32]: We don't have ENOSYS.
Diffstat (limited to 'g10/apdu.c')
-rw-r--r--g10/apdu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/apdu.c b/g10/apdu.c
index f2bc2f21d..e58be590d 100644
--- a/g10/apdu.c
+++ b/g10/apdu.c
@@ -16,6 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * $Id$
*/
#include <config.h>
@@ -2047,9 +2049,11 @@ apdu_open_remote_reader (const char *portstr,
writefnc, writefnc_value,
closefnc, closefnc_value);
#else
- #ifndef _WIN32
+#ifdef _WIN32
+ errno = ENOENT;
+#else
errno = ENOSYS;
- #endif
+#endif
return -1;
#endif
}