aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/apdu.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index b4f8d919f..b3646e7cf 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-03 Timo Schulz <[email protected]>
+
+ * apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS.
+
2004-10-03 David Shaw <[email protected]>
* keyedit.c (print_and_check_one_sig_colon): Fix bad keyids in
diff --git a/g10/apdu.c b/g10/apdu.c
index fceb4f396..f2bc2f21d 100644
--- a/g10/apdu.c
+++ b/g10/apdu.c
@@ -2047,7 +2047,9 @@ apdu_open_remote_reader (const char *portstr,
writefnc, writefnc_value,
closefnc, closefnc_value);
#else
+ #ifndef _WIN32
errno = ENOSYS;
+ #endif
return -1;
#endif
}