aboutsummaryrefslogtreecommitdiff
path: root/patches/keypairtest.c.patch
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2019-07-28 19:03:27 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2019-07-28 19:10:47 +0900
commit856d0511d63bd791b4a18df0c3ffc80b8e47c470 (patch)
tree09ca2423dc45ffd4fc21982de10dc19f877a5329 /patches/keypairtest.c.patch
parent0e3d93fc1d008d7561e97ceccc35f092e5fc0f36 (diff)
downloadportable-856d0511d63bd791b4a18df0c3ffc80b8e47c470.tar.gz
portable-856d0511d63bd791b4a18df0c3ffc80b8e47c470.tar.bz2
portable-856d0511d63bd791b4a18df0c3ffc80b8e47c470.zip
Use posix_win.c functions on WIN32
- read() returns bytes count as 1 for crlf unless binary mode isn't specified with open(). Reported by @ulfworsoe in libressl-portable#542 - err could be WSANOTINITIALISED when WSAStartup() is not called
Diffstat (limited to 'patches/keypairtest.c.patch')
-rw-r--r--patches/keypairtest.c.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/patches/keypairtest.c.patch b/patches/keypairtest.c.patch
deleted file mode 100644
index b1f03da..0000000
--- a/patches/keypairtest.c.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1--- tests/keypairtest.c.orig Sun Mar 18 00:31:20 2018
2+++ tests/keypairtest.c Sun Mar 18 00:31:33 2018
3@@ -15,6 +15,10 @@
4 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5 */
6
7+#ifdef _MSC_VER
8+#define NO_REDEF_POSIX_FUNCTIONS
9+#endif
10+
11 #include <sys/stat.h>
12
13 #include <err.h>