aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix double free of lock in pthread_mutex_destroyKartik Naik2026-08-081-2/+5
|
* don't override pledge and unveil when the host provides themKartik Naik2026-08-011-0/+5
|
* fix htole64 fallback byte order in AIX endian shimKartik Naik2026-07-131-9/+9
|
* nul-terminate snprintf shim on pre-2015 msvcKartik Naik2026-07-111-1/+19
|
* guard _wopendir against unchecked GetFullPathNameW resultKartik Naik2026-07-101-4/+4
|
* fix: address code review feedback on SIZE_MAX and errnoOrbisAI Security2026-06-151-0/+2
| | | | | | | | | | | - Include <stdint.h> to ensure SIZE_MAX is defined for MSVC - Set errno to ENOMEM when malloc fails for better error reporting Addresses review comments: - https://github.com/libressl/portable/pull/1304#discussion_r3411021522 - https://github.com/libressl/portable/pull/1304#discussion_r3411041707 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: V-002 security vulnerabilityorbisai0security2026-06-151-1/+2
| | | | Automated security fix generated by OrbisAI Security
* Allow building on AIXTheo Buehler2026-04-192-0/+87
| | | | | From @AIIleG in #1116 Fixes #1116
* compat/netinet/ip.h: add compat define for IPTOS_DSCP_VATheo Buehler2025-12-181-0/+4
|
* add mkstemp for msvc buildsBrent Cook2025-10-071-0/+2
|
* Make opensslconf.h MI againTheo Buehler2025-08-265-113/+2
|
* Mop up RC4_CHUNK - opensslconf.h is now MITheo Buehler2025-08-172-20/+0
| | | | Change-Id: I6a6a69646afcda5abaa40e9efb586abb80eeafb5
* Sync DES_UNROLL removal from opensslconf.hTheo Buehler2025-07-272-24/+0
| | | | Change-Id: I6a6a6964d015e92505a3a24785cdc3ea2535ad5e
* Sync BN_LLONG removal from opensslconf.hTheo Buehler2025-07-222-10/+0
| | | | Change-Id: I6a6a6964e4319a0fb0a0ecf5b4f6ea226beca433
* Add missing loongarch64/opensslconf.hTheo Buehler2025-07-071-0/+1
| | | | Fixes #1183
* Garbage collect BF_PTRTheo Buehler2025-06-112-10/+0
| | | | Change-Id: I6a6a6964f3ff8920845f29bc620ef51d94c3f5f4
* Remove MI constants which now live in other headersTheo Buehler2025-06-092-64/+0
|
* Remove ${MULTIPLE_OF_EIGHT}_BIT*Theo Buehler2025-06-092-24/+0
|
* Remove DES_PTRTheo Buehler2025-06-092-12/+0
|
* sync opensslconf.h: remove DES_RISC* logicTheo Buehler2025-06-062-110/+0
| | | | Change-Id: I6a6a696436b84c468fe7fc86f7f026918c68bf6f
* sync opensslconf.h: only HEADER_DES_H remainsTheo Buehler2025-06-052-2/+2
| | | | Change-Id: I6a6a6964d1f15bb620559cb4eaa57d323fe5e6f0
* Remove md2 leftoversTheo Buehler2025-06-052-8/+0
|
* add autotools build copyright headersBrent Cook2025-06-011-0/+15
|
* add copyright headers to Cmake filesBrent Cook2025-06-011-0/+15
| | | | based on original committer and date
* change prefix for fstatBrent Cook2025-04-161-2/+2
|
* switch to using high bit for fd detection of file/socketBrent Cook2025-04-121-0/+8
|
* Sync opensslconf.h, add crypto_arch.h for mipsTheo Buehler2025-04-121-11/+11
| | | | | | | This was easy enough to make compile. As long as it doesn't get in the way, I think we can keep this. Fixes #1110
* Basic loongarch64 supportIvan A. Melnikov2025-04-103-0/+159
| | | | | | | | | | | Just wire things up to make the project buildable on LoongArch64. opensslconf.h is taken form riscv64 folder as is, and is the same as on some other 64 bit architectures. Refs: https://github.com/libressl/portable/issues/1123 Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
* Add in missing endianess functions for Apple targetsCameron Lowell Palmer2024-12-201-2/+2
|
* Provide getdelim and getline compat shimsTheo Buehler2024-12-201-0/+12
| | | | | | These are portable implementations from NetBSD that are needed on Windows and perhaps some other platforms with the new versions of the mlkem tests.
* Attempt to fix windowsTheo Buehler2024-11-231-0/+4
|
* Attempt to fix 2038 problem with MSVCTheo Buehler2024-10-061-0/+9
|
* include/CMakeLists.txt: error out when architecture is not supportedThomas Petazzoni2024-07-131-0/+2
| | | | | | | | | | | | | | | | Since commit b98c56fd5e86fa76eb55a98a2266a923f64f705c ("stop exposing hidden defines in public opensslconf.h"), only a subset of CPU architectures is supported by libressl. However, when a build is attempted for an unsupported architecture, it doesn't fail with a clear error message at configure time, but it fails with a weird error at build time: crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT' In order to help users, let's bail out nicely at configure time with a good error message when the CPU architecture is not supported. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* distribute `compat/stdint.h`Viktor Szakats2024-06-051-0/+1
| | | | Fixes #1064
* Remove timegm() compatTheo Buehler2024-05-251-9/+0
| | | | | Now that all uses of gmtime_r() and timegm() have been converted to OPENSSL_gmtime() and OPENSSL_timegm(), this is no longer needed.
* define _MSC_VER when preprocessing, add guardsBrent Cook2024-02-251-1/+7
|
* include placeholder cet.h for cppBrent Cook2024-02-251-0/+13
|
* Windows: Improve the check for endianness when using Visual Studio.Christian Andersen2024-02-041-1/+16
| | | | | | | | Visual studio does not define __BYTE_ORDER__ so all architectures were detected as LITTLE_ENDIAN since both __BYTE_ORDER__ and __ORDER_LITTLE_ENDIAN__ would evaluate to 0 and compare equal. This updates the checks to use CMakes detection of endianness, with a hard error, if this also fails.
* pthread_once() returns an error code on failureTheo Buehler2023-12-191-1/+1
|
* Fix build on windowsTheo Buehler2023-12-141-0/+1
|
* pthreads.h: avoid undefined behaviorTheo Buehler2023-12-121-3/+8
| | | | | | | You can't pass a function pointer through a void pointer. So wrap the pthread callback in a struct. Fixes #966
* Land #964Theo Buehler2023-12-122-1/+1
|\
| * windows: minor compat header fixesViktor Szakats2023-12-112-1/+1
| | | | | | | | | | | | - 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
* | Prefix some compat symbols with libressl_Theo Buehler2023-12-113-0/+23
|/ | | | | See #928. This isn't a full fix, but should remove much of the friction already.
* adjust how sizeof time_t is set, the current way causes issues with MSVC ↵Brent Cook2023-10-291-0/+8
| | | | 2022's preprocessor
* MSVC: Enable building ocspcheck.Pierre Wendling2023-10-291-1/+2
| | | | | | | - Add `STDIN_FILENO` to compat unistd header. - Use quotes to include compat getopt header in the compat unistd. - Export additional symbols needed by ocspcheck (optarg, optind, ftruncate)
* package getopt compat filesBrent Cook2023-10-011-0/+1
|
* CMake: Copy public headers to the build directory.Pierre Wendling2023-08-191-0/+8
|
* Simplify and fix solaris endian.h macrosTheo Buehler2023-08-171-7/+4
| | | | Fixes #898
* add htole32/le32toh for SolarisBrent Cook2023-08-161-0/+2
|