alonbl / gnupg-pkcs11-scd

PKCS#11 GnuPG SCD
http://gnupg-pkcs11.sourceforge.net/
Other
68 stars 17 forks source link

Fix mingw32 compiling issues #16

Closed llogar closed 5 years ago

llogar commented 6 years ago

Hi,

This pull request fixes cross compiling with mingw. It also fixes #13, as handles 0, 1 under windows are not stdin and stdout. They should rather be obtained by calling GetStdHandle(...).

With these changes gnupg-pkcs11-scd appears to be working just fine under windows.

Also, pin-cache option was not used...

alonbl commented 5 years ago

Thanks! I missed this somehow... only now I noticed.