Created attachment 265466 [details] [diff] [review] patch v1 ocspclnt has numerous options that read binary input from stdin or that write binary output to stdout. They don't work on Windows, because on windows, stdin and stdout do line end munging unless they are put into "binary mode". This patch puts them into binary mode on Windows. It may create warnings on non-Windows platforms.
Comment on attachment 265466 [details] [diff] [review] patch v1 seeking second reviewer
Comment on attachment 265466 [details] [diff] [review] patch v1 This is OK, except the include of unistd.h in the XP_UNIX block appears to be unnecessary. Please remove it before checkin.
Make ocspclnt read and write binary files on stdin and stdout. bug 381375. r=neil.williams,julien.pierre Checking in ocspclnt.c; new revision: 1.10; previous revision: 1.9 Remove #include <unistd.h> for unix. bug 381375. r=julien.pierre Checking in ocspclnt.c; new revision: 1.11; previous revision: 1.10