2004-10-03 Timo Schulz <twoaday@g10code.de>
authorTimo Schulz <twoaday@freakmail.de>
Mon, 4 Oct 2004 17:25:29 +0000 (17:25 +0000)
committerTimo Schulz <twoaday@freakmail.de>
Mon, 4 Oct 2004 17:25:29 +0000 (17:25 +0000)
        * apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS.

g10/ChangeLog
g10/apdu.c

index b4f8d91..b3646e7 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-03  Timo Schulz  <twoaday@g10code.de>
+
+       * apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS.
+       
 2004-10-03  David Shaw  <dshaw@jabberwocky.com>
 
        * keyedit.c (print_and_check_one_sig_colon): Fix bad keyids in
index fceb4f3..f2bc2f2 100644 (file)
@@ -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
 }