Marc-André Moreau
0a7e07a3a5
libwinpr-crypto: avoid linking to less common digests and ciphers
2015-10-13 09:13:52 -04:00
Marc-André Moreau
87780a850d
Merge branch 'master' of github.com:FreeRDP/FreeRDP into mbedtls
2015-10-09 15:58:50 -04:00
Marc-André Moreau
4f769866d7
winpr: make clean non-OpenSSL build possible (without schannel, makecert)
2015-10-09 15:57:41 -04:00
Marc-André Moreau
82afb0f1ee
libwinpr-crypto: add generic digest API and OpenSSL compatible key derivation
2015-10-09 15:23:15 -04:00
Marc-André Moreau
54292f29ea
libwinpr-crypto: add generic cipher API with OpenSSL/mbedtls support
2015-10-09 12:15:31 -04:00
Marc-André Moreau
87c42127c7
libwinpr-sspi: remove OpenSSL dependency in NTLM SSPI module
2015-10-08 16:48:58 -04:00
Marc-André Moreau
5bff1d0fdf
libwinpr-crypto: add rand and RC4 functions with OpenSSL/mbedtls
2015-10-08 16:26:37 -04:00
Marc-André Moreau
7521ecd759
libwinpr-crypto: add basic hashing and HMAC support with OpenSSL/mbedTLS
2015-10-08 13:58:55 -04:00
Marc-André Moreau
ac62d43e0f
winpr: isolate OpenSSL
2015-10-06 10:56:24 -04:00
Marc-André Moreau
94a2f9533e
winpr: start porting to non-OpenSSL
2015-10-05 16:23:44 -04:00
Martin Fleisz
2d641c4dd4
Merge pull request #2864 from bjcollins/smartcard_same_name_readers
...
Give unique aliases for smartcards with the same name, so that two re…
2015-10-01 13:45:20 +02:00
Marc-André Moreau
70b037145e
libwinpr-synch: fix broken FD_ISSET check caused by hidden type cast from int to char
2015-09-18 11:38:27 -04:00
Marc-André Moreau
8a5c55788b
libwinpr-sspi: don't warn about non-error security statuses
2015-09-17 11:16:20 -04:00
Martin Fleisz
912cd96321
Merge pull request #2887 from FreeRDP/mh-file-api-extension
...
winpr/file: extend API
2015-09-15 15:57:56 +02:00
MartinHaimberger
db2ce49a98
Merge pull request #2763 from akallabeth/nla_null_auth
...
Fixed server and client NLA state machine for NULL identity.
2015-09-15 14:53:55 +02:00
MartinHaimberger
d4d360f6a4
Merge pull request #2859 from akallabeth/resource_leak_fix
...
Fixes API misuse and logic errors
2015-09-15 14:45:42 +02:00
Martin Haimberger
925e4ea4d4
winpr/file: extend API
...
added windows code
fixed compiler issue
2015-09-15 04:14:30 -07:00
Bernhard Miklautz
074854735f
winpr/file: extend API
...
Add function GetFileHandleForFileDescriptor to get
a file handle for a valid file descriptor.
2015-09-15 02:16:36 -07:00
Bryan Everly
37b3881f06
Merge remote-tracking branch 'upstream/master'
2015-09-14 13:21:00 -04:00
Bryan Everly
bd149a284d
Cleaned up previous OpenBSD change per recommendation
2015-09-14 13:20:11 -04:00
Bernhard Miklautz
0d9dfb974d
winpr/file: integrate pull request feedback
...
* simplify RemoveDirectory
* move std handle function into an extern C block
2015-09-10 11:50:10 +02:00
Bernhard Miklautz
0f5e7c60a7
winpr/file: don't close stdin/stdout/stderr
...
If the handle is closed stdin/stdout/stderr should be left open.
2015-09-09 17:07:40 +02:00
Bernhard Miklautz
8091530779
winpr/file: fix ios build
...
comm is only build on linux.
2015-09-09 17:07:13 +02:00
Bernhard Miklautz
6b52a2e5cc
winpr/file: initial regular file support
...
Add initial support for "regular" files. First implemented call is
GetStdHandle to get stdin/stdout/stderr.
2015-09-09 16:47:03 +02:00
Bernhard Miklautz
204ae5462a
winpr/file: refactoring
...
The used method for initalizing and registering the handle creators
had certain disadvantages like that it was necessary to have the creators
initialized before the first call to CreateFile. In case of comm it
wouldn't have been possible to open an comm port without calling any
other call related function first.
Now the handle creators are initialized the first time CreateFile is
called. This way it is also possible to ensure a certain order of the
handler invocations.
This commit also splits out the client side named pipe code from
the generic file handling (now called generic.c instead of file.c) and
uses the new handle creator infrastructure to register.
2015-09-09 15:48:59 +02:00
MartinHaimberger
d971116457
Merge pull request #2765 from akallabeth/connect_abort
...
Connect abort and unified TCP connect
2015-09-07 10:05:24 +02:00
Armin Novak
7d8ab23877
WSAEvent fixes ported from realjiangms pull 2870.
2015-09-05 15:18:01 +02:00
Armin Novak
ce479e312a
Fixed uninitialized environment block.
2015-09-03 13:37:16 +02:00
bjcollins
ac67e25007
Give unique aliases for smartcards with the same name, so that two readers do not end up with the same alias.
2015-09-02 12:11:47 -05:00
Armin Novak
6c74dbbe25
Reverted broken malloc size fix.
2015-09-02 13:57:04 +02:00
MartinHaimberger
74817efbdb
Merge pull request #2852 from bmiklautz/process_env
...
Update CreateProcess and rfx
2015-09-02 10:09:11 +02:00
Armin Novak
6c288bd0f2
Fixed zero length allocation.
2015-09-01 12:25:43 +02:00
Armin Novak
2c7a20d8c0
Fixed uninitialized memory.
2015-09-01 12:25:43 +02:00
Armin Novak
205878383d
Fixed array out of bound access.
2015-09-01 12:25:43 +02:00
Armin Novak
cdf884fd45
Fixed broken structure comparison.
2015-09-01 12:25:43 +02:00
Armin Novak
cb7927756d
Fixed resource leak.
2015-09-01 11:31:12 +02:00
Armin Novak
5cad081cc8
Fixed memory leak.
2015-08-28 11:07:25 +02:00
Bernhard Miklautz
72f13aeacb
CreateProcess: add stdin/out/err redirection
...
When launching a new process stdin/stdout/stderr can be redirected by
passing the corresponding HANDLEs in the passed lpStartupInfo structure.
This is required for example if a pipe should be used as stdin/stdout.
If set in lpStartupInfo the file descriptor of the passed handle is
now used. The test was updated accordingly.
2015-08-28 10:41:23 +02:00
Marc-André Moreau
e1e4d2ae98
Merge pull request #2827 from HenryJacques/winpr_cleanup
...
Remove unused variable in RegQueryValueExA()
2015-08-27 10:11:50 -04:00
Armin Novak
134a16d522
Fixed WSAEventSelect mode reset.
2015-08-27 15:33:06 +02:00
Armin Novak
1abd652530
Fixed GetComputerNameExA and GetComputerNameA.
2015-08-25 17:43:22 +02:00
HenryJacques
e9a7da3b4e
Remove unused variable
2015-08-05 18:38:50 +02:00
Martin Haimberger
008d9f3b79
fixed misc *_free functions to accept NULL
...
Following types of collections support now
NULL in the free call:
* ArrayList
* BitStream
* ContdownEvent
* Dictionary
* KeyValuePair
* MessageQueue
2015-07-30 07:02:36 -07:00
Martin Haimberger
479157b69c
winpr: WaitFor*Ojbect/s set lastError now
2015-07-30 02:52:11 -07:00
Marc-André Moreau
611c194f80
Merge pull request #2801 from bmiklautz/fix/thread
...
winpr/thread: small cleanups
2015-07-28 08:47:06 -04:00
Marc-André Moreau
b33ea8aee9
Merge pull request #2804 from bmiklautz/fix/misc
...
Misc fixes
2015-07-28 08:46:27 -04:00
Marc-André Moreau
06c3f2fca4
Merge pull request #2793 from rkondratenko/pcsclite-transactions
...
Fix for transactions support for Smart Cards
2015-07-28 08:44:58 -04:00
Bernhard Miklautz
c3ea07f3d9
winpr/thread: don't close invalid file descriptors
...
In case the file descriptor is -1 don't call close.
2015-07-24 14:57:47 +02:00
Bernhard Miklautz
81d422588e
winrp/thread: don't call pthread_exit on return
...
As the pthread_exit man page states pthread_exit is called implicitly
when the start function returns.
2015-07-24 14:52:31 +02:00
Bernhard Miklautz
4250f3f030
winpr/event: remove critical section
...
The critical section isn't required and not used anymore since
commit 8a2220a3d9
.
2015-07-24 13:29:48 +02:00