Adrian Perez de Castro
436f212be3
Fix building with LibreSSL 2.7.0 or newer
...
With LibreSSL 2.7.0 (or newer versions) some more structs have made
opaque, which requires a few changes:
- BIO_meth_new() and related functions are now defined by LibreSSL, the
versions from opensslcompat.{h,c} does not need to be used anymore.
- HMAC_CTX is now opaque, HMAC_CTX_new(), EVP_MD_CTX_new, and related
functions should be used instead in winpr's hash.c.
2022-06-27 13:42:29 +02:00
akallabeth
6ed2f7d1a3
Fixed format string for Stream_CheckAndLogRequiredLength
...
__LINE__ requires %d and not %PRIuz
(cherry picked from commit 74c1a006e9
)
2022-06-03 09:07:42 +02:00
akallabeth
232333037d
Fix return of getlogin()
...
(cherry picked from commit 1e779f92ec
)
2022-06-02 14:11:52 +02:00
akallabeth
7f35f29546
Fixed compilation warnings
2022-05-13 12:56:18 +02:00
Armin Novak
3b2cba58e5
Fixed broken USE_UNWIND check
...
(cherry picked from commit 63a221d845
)
2022-05-05 13:05:21 +02:00
Armin Novak
1322566d7f
Fixed IOS pthread_mutext_timedlock detection
2022-05-04 09:41:01 +02:00
Armin Novak
060e5adf1c
Fixed IOS timer detection
2022-05-04 09:41:01 +02:00
akallabeth
b4907dba08
Defined and use _write
...
(cherry picked from commit 9330559d24
)
2022-05-04 09:41:01 +02:00
Armin Novak
7e4d328a38
Fixed argument mismatch
...
(cherry picked from commit 400fe6f796
)
2022-05-04 09:41:01 +02:00
akallabeth
50d045be97
Enable unwind.h and dladdr as default backtrace implementation
...
* config option USE_UNWIND to enable/disable
(cherry picked from commit 728d1c5892
)
2022-04-29 15:27:08 +02:00
akallabeth
30680b6e7f
default android to unwind
...
(cherry picked from commit 734f90692b
)
2022-04-29 15:27:08 +02:00
akallabeth
5e1eca6ff5
Added unwind.h support
...
(cherry picked from commit b52416da6b
)
2022-04-29 15:27:08 +02:00
akallabeth
b4554ce916
Moved corkscrew backtrace to own file
...
(cherry picked from commit 3ef29a3275
)
2022-04-29 15:27:08 +02:00
akallabeth
aeeeee00bd
Moved windows backtrace to own file
...
(cherry picked from commit ca8c9ea7b9
)
2022-04-29 15:27:08 +02:00
akallabeth
979e063581
Moved execinfo backtrace to own file
2022-04-29 15:27:08 +02:00
akallabeth
8ab5969384
Simplified CMake variable names
...
(cherry picked from commit bab6e3b316
)
2022-04-29 15:27:08 +02:00
Armin Novak
c6c8676132
Cleaned up NamedPipeOverlapped test.
...
(cherry picked from commit aeb2415af9
)
2022-04-27 18:12:53 +02:00
Armin Novak
e31caf0964
Fixed leak in TestPipeCreateNamedPipeOverlapped.
...
(cherry picked from commit 1ee8370f28
)
2022-04-27 18:12:53 +02:00
Armin Novak
4385dc4f7a
Do not mark WinPR implementation of ExitThread as noreturn
2022-04-27 18:12:53 +02:00
Armin Novak
4ca275d468
Refactor thread condition logic
...
* Add better return value checks
* Combine logic blocks in structs
* Add (easier to read) static functions for blocks
* Use condition variables only in combination with BOOL
(cherry picked from commit a77038a0c7
)
2022-04-27 18:12:53 +02:00
Armin Novak
40ee5d3bcc
Updated for 2.7.0 release
2022-04-25 15:04:48 +02:00
Armin Novak
32b8db3025
Added missing WINPR_API
2022-04-25 14:42:14 +02:00
akallabeth
52f3e5139f
Cleaned up ntlm_fetch_ntlm_v2_hash
...
(cherry picked from commit 4661492e5a
)
2022-04-22 15:30:30 +02:00
Armin Novak
5249f61b72
Fixed missing field read.
...
(cherry picked from commit cb538114ed
)
2022-04-06 10:22:06 +02:00
Armin Novak
c8dced5905
Fixed windows build (_snpnrintf)
...
(cherry picked from commit 6cccc95691
)
2022-04-06 10:22:06 +02:00
Armin Novak
311558c964
Fixed missing return check
...
(cherry picked from commit 46c78cf0f0
)
2022-04-06 10:22:06 +02:00
Armin Novak
061edc109f
Fixed backport compile problems
2022-04-06 10:22:06 +02:00
Armin Novak
269ebb8cad
Fixed NTLM flag handling
...
* NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED and NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED
* Problem with clients not supporting NTLMSSP_NEGOTIATE_LM_KEY
* Improve logging
(cherry picked from commit 3c657d58cd
)
2022-04-06 10:22:06 +02:00
Armin Novak
34e851209a
Removed unnecessary assert
...
(cherry picked from commit 4b1427639a
)
2022-04-06 10:22:06 +02:00
Armin Novak
f1d9faa7fc
Refactored WinPR::NTLM
...
* added assertions
* added log messages
* removed code duplication
(cherry picked from commit 813966da1a
)
2022-04-06 10:22:06 +02:00
Armin Novak
2008751c04
Replaced WINPR_ASSERT defines, use include
2022-03-28 12:08:51 +02:00
Armin Novak
0089ce25b4
Removed cached wlog pointer
...
(cherry picked from commit 77580466ae
)
2022-03-28 12:08:51 +02:00
Armin Novak
e675ffcb35
Fixed warnings from WLOG_ASSERT
...
(cherry picked from commit 02896b0656
)
2022-03-28 12:08:51 +02:00
Armin Novak
83dffd0009
Improve WINPR_ASSERT, log backtrace
...
(cherry picked from commit 9e94f1dace
)
2022-03-28 12:08:51 +02:00
akallabeth
f522bcb63a
Added option do disable WINPR_ASSERT
...
(cherry picked from commit 3a75228242
)
2022-03-28 12:08:51 +02:00
Armin Novak
76660aab19
Added WINPR_ASSERT
...
Added a WinPR macro that can be used for WinPR and FreeRDP to
replace standard C assert.
It is more verbose and logs issues to WLog which makes it easier
for us to trace problems in the field.
(cherry picked from commit b435e6db9b
)
2022-03-28 12:08:51 +02:00
Armin Novak
5e4347681d
Changelog & version
2022-03-07 15:24:08 +01:00
akallabeth
de805f8565
Decreased logging verbosity for INFO level
...
(cherry picked from commit e6b0373859
)
2022-03-03 10:52:00 +01:00
Armin Novak
9e497c22a9
Updated chanelog and version
2022-02-22 12:41:11 +01:00
akallabeth
ab935d94ef
Fixed ICU include directories
...
(cherry picked from commit b790b67ee4
)
2022-02-17 10:06:06 +00:00
Armin Novak
b369517e98
Fixed HexStrToBin, respect const input
2022-02-14 09:21:41 +00:00
Armin Novak
9f081069d8
Fixed possible leaks in TestSynchMultipleThreads
...
(cherry picked from commit 1947629b8e
)
2022-02-14 09:21:41 +00:00
akallabeth
00900c5cbb
Updated version and changelog.
2022-01-26 12:10:47 +01:00
akallabeth
15d4928998
Fixed return value of GetUserNameExA
...
(cherry picked from commit 3a67132677
)
2022-01-25 15:34:15 +01:00
akallabeth
de95335701
Added support for getpwuid_r, replaced duplicate code
...
* Use GetUserNameExA to get current user name when required.
* Add support for getpwuid_r if available
(cherry picked from commit 8a155db877
)
2022-01-25 15:34:15 +01:00
Armin Novak
fd4876a087
Updated changelog
2022-01-12 09:30:05 +01:00
Armin Novak
56c527dc80
Replaced WINPR_ASSERT with assert for backport.
2022-01-11 11:45:01 +01:00
Armin Novak
9a60293ccc
Fixed reg_close
...
(cherry picked from commit f411eaf47f
)
2022-01-11 08:01:48 +01:00
Armin Novak
0d227b5019
Fixed reg_unload: ignore empty root_key
...
(cherry picked from commit 327935dfaf
)
2022-01-11 08:01:48 +01:00
Armin Novak
7f57ce1ac0
Fixed reg_insert_key
...
(cherry picked from commit a613f9eb05
)
2022-01-11 08:01:48 +01:00