| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/crypto/* masks too much and breaks the exclusion function.
The docs for gitignore state that if a parent directory is ignored,
negating a pattern with a ! prefix has no effect since it is not
possible to reinclude a file if the parent director is excluded.
https://git-scm.com/docs/gitignore
This just is more explicit, which catches files added out of tree more
readily.
Also delete the long-removed libtls-standalone references
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
lives in poll_win.c)
|
|
|
|
| |
distinguishable from sockets by having them take odd values only
|
| |
|
|
|
|
|
|
| |
These are portable implementations from NetBSD that are needed on
Windows and perhaps some other platforms with the new versions of
the mlkem tests.
|
|
|
|
| |
Should fix #1111
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The Emscripten platform already supports the
necessary Linux API. The only missing piece
was adding a branch specifically for Emscripten
and including the existing Linux file.
This update enables all LibreSSL libraries to
be built using the Emscripten toolchain.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
When compiling in release mode the _CrtSetReportMode macro
gets replaced by void(0). This makes old_report_mode unused.
Silence a warning about it.
|
|/
|
|
|
| |
Now that all uses of gmtime_r() and timegm() have been converted to
OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|/ |
|
|
|
|
|
|
| |
Follow-up to dd1d96f643b01a5edbe7e0db8399f3c88f5f0c8b
Fixes #925
|
|
|
|
|
| |
signal.h is less populated in this environment, remove stub signal
handlers
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a getopt implementation for compatibility where it is not
available, removing a couple of regress patches.
Note, this is a slightly modified copy from OpenBSD libc that doesn't
expose getopt_long, which has dependency conflicts with Windows system
headers and isn't needed anyway.
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
| |
cause problems on musl systems
|
|
|
|
|
|
|
| |
This diff fixes the build of LibreSSL for Android with API < 21 where
the `getprogname` system call was not part of libc.
A comment in the diff itself explains in detail the issue.
|
| |
|
| |
|
|
|
| |
Locks are required for multi-threading. If memory can't be allocated, exit the program with memory error. If we let the program continue, it will deadlock in the next part of the code anyway so better end it before.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|