Commit Graph

15653 Commits

Author SHA1 Message Date
Armin Novak 5e11f0da28 Reorganized UWAC headers 2022-03-03 11:26:48 +01:00
Armin Novak 6ed50b4b1d Refactored WinPR includes 2022-03-03 11:26:48 +01:00
akallabeth c99c4cecdd Fixed GetEnvironmentVariableX: Return sting length including '\0' 2022-03-03 08:15:28 +01:00
akallabeth 952068145e Fixed GetEnvironmentVariableX win32 call to ConvertFromUnicode 2022-03-03 08:15:28 +01:00
akallabeth 850e0b107f Discard SmartcardCerts in case of error. 2022-03-03 08:15:28 +01:00
akallabeth aef3cb16fa Fixed GetEnvironmentVariableX for windows 2022-03-03 08:15:28 +01:00
David Fort fa1656178a Fix a leak in GetEnvironmentVariableX under win32
The variable name was leaked.
2022-03-03 08:15:28 +01:00
David Fort f33c679552 smartcard: fix smartcard enumeration
There was a bug in smartcard listing that was leading to be unable to open a key
with slotId != 0. When any error or skipped item was happening during listing
the code was crashing.
2022-03-03 08:15:28 +01:00
akallabeth b5f3b9f64e Fixed #7607: Channel remixing does not work with FFMPEG
Until a proper way to utilize FFMPEG is found, do it manually.
2022-03-02 17:10:17 +01:00
akallabeth 64f47848c9
Proxy fixes (#7686)
* Fixed a memory leak in server side NLA auth

* Fixed #7675: Pass channel packets directly
2022-03-02 09:13:41 +01:00
David Fort 502f44949a nla: fix smartcard login under windows
Remove incorrect UNICODE flag for Ascii structures.
2022-03-02 07:32:45 +01:00
Armin Novak a9463bfdda Fixed const warnings 2022-03-01 08:00:25 +01:00
akallabeth 70ea2eef46 Fixed *_EXPORTS 2022-03-01 08:00:25 +01:00
akallabeth c25d15d1d6 Initialize WLog prefix string buffers '\0' 2022-02-28 16:49:18 +01:00
akallabeth 861eaa693b Removed windows debug console 4096 character limit 2022-02-28 16:49:18 +01:00
akallabeth 121e736694 Use _vsnwprintf instead of vswprintf_s 2022-02-28 16:49:18 +01:00
akallabeth 921f279fa9
Openh264 fix graphical artifacts (#7677)
* Added WINPR_ASSERT to openh264 backend

* Added openH264 decoder frame flush
2022-02-28 08:21:42 +01:00
Martin Fleisz 1371970783 disp: Remove wrong assert 2022-02-25 11:57:28 +01:00
Armin Novak 42468f3684 Removed pdb file on windows (BUILDIN_CHANNELS removed) 2022-02-24 14:48:46 +01:00
Armin Novak 7b65677b65 Improved command line help printing 2022-02-24 14:48:46 +01:00
Armin Novak e36c49eab7 Properly log kerberos error strings 2022-02-24 14:48:46 +01:00
Armin Novak 001c505572 Const corrected function sspi_CopyAuthIdentity 2022-02-24 14:48:46 +01:00
Armin Novak cb27338bf4 Set required C standard to C99 with extensions 2022-02-24 12:31:58 +01:00
Armin Novak 5fd3bf7c0c Fixed reg_load_value 2022-02-24 12:31:58 +01:00
Armin Novak e5d820a37d Use variable for mediacodec codec name 2022-02-24 12:06:06 +01:00
Armin Novak 6a2524d2a8 Cleaned up imports 2022-02-24 12:06:06 +01:00
Armin Novak 5d147f7019 Revert to default API level 21 2022-02-24 12:06:06 +01:00
Armin Novak ac98dfa502 Fixed mediacodec backend
* Link directly, no runtime linking. (It is part of the NDK for API >=
  21)
* Fix problems with functions introduced with API 26 and 28
2022-02-24 12:06:06 +01:00
Armin Novak 6dfd490351 Fixed GetStringUTFChars return value type 2022-02-24 12:06:06 +01:00
Armin Novak 94634bfd67 Fixed const warning 2022-02-24 12:06:06 +01:00
Armin Novak 6e2c5f2273 Added CommandLineParseCommaSeparatedValuesEx single quote support 2022-02-24 10:58:26 +01:00
David Fort 34c5b65064 Move some options to /kerberos block 2022-02-24 08:52:25 +01:00
Armin Novak f4572b082a Use typedef struct definition for sspi types 2022-02-24 08:52:25 +01:00
Armin Novak 8ff70baf53 Const correct parseSubOptions
* Function static
* Arguments const where applicable
2022-02-24 08:52:25 +01:00
Armin Novak 499d73e6f4 Replaced strdup with _strdup 2022-02-24 08:52:25 +01:00
Armin Novak 150674f341 Moved headers to appropriate places 2022-02-24 08:52:25 +01:00
David Fort 0435b5a65d Implement smartcard logon 2022-02-24 08:52:25 +01:00
David Fort 310f2047bf fix build with mingw 7 2022-02-24 08:52:25 +01:00
David Fort c90074d10c fix leaks in ncrypt 2022-02-24 08:52:25 +01:00
David Fort 19453883f8 winpr gss: wire gss_acquire_cred_from 2022-02-24 08:52:25 +01:00
Armin Novak b3790d7454 Removed Smartcard files from settings
* Removed file names from settings
* Added temporary file creation for pkinit
2022-02-24 08:52:25 +01:00
Armin Novak 649527ef8d Fixed const correctness of freerdp_smartcard_list 2022-02-24 08:52:25 +01:00
Armin Novak b46d74806e Removed FreeRDP_ListSmartcards setting
* Directly print smartcard list without intermediate setting
* Centralize the help text, clients do not need to add extra code
2022-02-24 08:52:25 +01:00
David Fort 44c82cd929 Fixes various akallabeth remarks 2022-02-24 08:52:25 +01:00
David Fort 6a5521bb84 fix snprintf usage 2022-02-24 08:52:25 +01:00
Armin Novak a00238d253 Use freerdp_settings_set and _strdup 2022-02-24 08:52:25 +01:00
Armin Novak 99d63ea89e Fixed missing static and WINPR_API 2022-02-24 08:52:25 +01:00
David Fort cb351a099d Enable smartcard NLA logon 2022-02-24 08:52:25 +01:00
David Fort a563a6836b winpr: ncrypt add a property to retrieve the PKCS11 slotId 2022-02-24 08:52:25 +01:00
David Fort 62ac25ef54 smartcard_emu: enable to specify the smartcard pin 2022-02-24 08:52:25 +01:00