Actually set the CE rendezvous ids.
authorWerner Koch <wk@gnupg.org>
Mon, 21 Jun 2010 12:58:31 +0000 (14:58 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 21 Jun 2010 12:58:31 +0000 (14:58 +0200)
main.cpp

index 4ca3d88..23f5838 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -337,9 +337,9 @@ parse_std_file_handles (int *argcp, char ***argvp)
           else
             fd = (int)w32ce_finish_pipe (atoi (s+5), s[3] != '0');
           if (s[3] == '0' && fd != -1)
-            w32_infd = fd;
+            pinentry_set_std_fd (0, fd);
           else if (s[3] == '1' && fd != -1)
-            w32_outfd = fd;
+            pinentry_set_std_fd (1, fd);
           fixup++;
         }
       else