Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Maxim Cournoyer
ccec6c2f67
replace usleep with nanosleep
...
* src/compat/msvc/unistd.h (usleep): Delete.
* tools/dhtcnode.c (main) <usleep>: Replace with nanosleep on non
Windows platform, or Sleep on Windows.
Fixes : #607
2025-07-20 22:25:28 -04:00
Adrien Béraud
6b0e154bd5
build/cmake: add vcpkg support for msvc
2025-06-12 10:32:20 -04:00
Andrey Vukolov
54a8fef0ee
Windows build fixed for tools (wingetopt, signals)
...
- Addresses https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089286643
- Structures wingetopt and win32 compatibility files for builds on Windows with MSVC
- Adjusts opendht_EXPORTS definition when building tools on MSVC
2025-05-30 23:05:59 -04:00
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -04:00
Lanius-collaris
251f66dfce
fix getif_workaround_android.h
...
char may be signed
2024-06-10 08:21:57 -04:00
Adrien Beraud
9dad7c69fd
peer discovery: cleanup
2024-06-07 09:31:48 -04:00
Adrien Béraud
7ca39b4a20
http: use OCSP_check_validity to check OCSP validity
2024-03-17 15:56:48 -04:00
Adrien Béraud
fb9e6eee48
Revert "build: do not define ASN1_time_parse when using openssl"
...
This reverts commit 3a8adb4e17 .
2023-08-30 17:59:07 -04:00
Kateryna Kostiuk
3a8adb4e17
build: do not define ASN1_time_parse when using openssl
2023-08-27 16:54:16 -04:00
Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00
Adrien Béraud
2654970499
logger: remove OPENDHT_LOG, rename to logger.h
2023-05-18 12:31:42 -04:00
kkostiuk
0f8d891476
iOS: drop support for voip notifications
2022-07-25 15:26:57 -04:00
Adrien Béraud
633a03d76a
ios: support multiple notification types
...
- VOIP notifications for iOS < 14.5
- alert and background notifications for iOS >= 14.5
2022-06-30 15:44:16 -04:00
Adrien Béraud
290e8594b6
update copyright
2022-03-21 11:32:56 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Adrien Béraud
639ae26ac1
PEMCache: cleanup
2021-03-18 10:35:35 -04:00
Kateryna Kostiuk
8c852c20e7
os_cert: do not load for iOS
2020-11-18 15:47:10 -05:00
Adrien Béraud
b5fcd49b7b
os_cert: only build with http
2020-11-17 15:20:46 -05:00
Adrien Béraud
81cdd9650b
os_cert: cleanup
2020-11-17 14:37:03 -05:00
Adrien Béraud
e028cea687
os_cert: only define timegm on Windows
2020-11-17 13:15:22 -05:00
Adrien Béraud
17ed4a9e26
os_cert: include crypto/x509 from OpenSSL 3.0
2020-11-17 12:27:41 -05:00
Adrien Béraud
3ff318b9e4
os_cert: cleanup detection of ASN1_time_parse
2020-11-17 11:35:07 -05:00
Adrien Béraud
4d87c2267b
os_cert: build ASN1_time_parse if not libressl
2020-11-15 00:42:29 -05:00
Andreas Traczyk
1621515b3c
http: use local cache to store pre-decoded certs
...
- pre-decode certs from DER->PEM and store them so http connections
can add them the ssl context x509 store
- fixes the windows build by adding the crypto/x509 header
2020-11-12 18:58:18 -05:00
Kateryna Kostiuk
c986f44704
http: fix linking on macOS
2020-10-29 14:04:45 -04:00
Adrien Béraud
065be0621d
ssl: fix build on non-MSVC platforms
2020-10-28 14:06:08 -04:00
Andreas Traczyk
6c085ed975
http: load ca certs from platform specific stores into x509 store
2020-10-28 12:23:53 -04:00