| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
When running the signertest, or the test project in
https://github.com/libressl/portable/issues/266 an assertion window
pops up. This was fixed in afcd4be8a72a for a release compiled library.
To prevent the issue in debug mode, it looks like it is necessary to
also disable the assertion window popup.
With this all tests pass when compiling and running them with a Debug,
Release or RelWithDebInfo CMake build on windows (for me).
|
|
|
|
|
|
| |
- posix_win.c: use `snprintf` as-is with _MSC_VER >= 1900
- stdio.h: include socket header before windows.h
- pthread.h: delete exec permission from source file
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
based on discussion in https://github.com/libressl/portable/issues/266
and https://bugs.python.org/issue23524 adjust the compat layer for
Windows to use _get_osfhandle in combination with
_set_thread_local_invalid_parameter_handler if applicable to more
reliably determine if a handle is a socket, file, or closed socket.
This prevents assertions when calling tls_close on an already-closed
socket.
|
|
|
|
|
|
| |
Since it seems only MSVC lacks sleep(), and it's only used by apps, lets
special-case that and make it available as a static inline function
instead.
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This moves the compatibility include files from include to
include/compat so we can use the awful MS C compiler
<../include/> trick to emulate the GNU #include_next extension.
This also removes a few old compat files we do not need anymore.
|
| |
|
|
this also adds a rename shim that allows overwrites
|