Commit Graph

706 Commits

Author SHA1 Message Date
Mads Kiilerich
9c8f5d63eb core: "null server certificate" cleanup in certificate.c
"null server certificate" is not an error. It is usually seen when the
certificate already has been sent and the server doesn't send it twice just
because of licensing. Degrading to debug message.

Do the check early to avoid leaking a stream.

Also remove unused static strings.
2012-02-28 21:31:09 +01:00
Mads Kiilerich
a7b4a67c75 core: make rdp.c DATA_PDU_TYPE_STRINGS debug strings conditional and avoid out of range indexing 2012-02-28 21:31:08 +01:00
Mads Kiilerich
15169d0314 introduce generic ARRAY_SIZE macro 2012-02-28 18:11:11 +01:00
LittleJawa
a8ddba22b1 Reverting formatting change in freerdp.c - was made by error with an auto-indenting tool 2012-02-27 10:16:00 +01:00
LittleJawa
284b6a54fd Reverting formatting change in freerdp.c - was made by error with an auto-indenting tool 2012-02-27 10:13:39 +01:00
Julien Ropé
9546df9300 Merge remote-tracking branch 'upstream/master' 2012-02-25 22:03:37 +01:00
Julien Ropé
7a5c2bc8cc Slight modifications to existing comments to have them better displayed in doxygen's docs. 2012-02-25 21:56:49 +01:00
Julien Ropé
43360b0453 Adding new comments to xfreerdp.c, going down to the functions it calls in the core lib.
Continue adding comments to struct rdp_freerdp fields.
2012-02-25 21:55:59 +01:00
Julien Ropé
3fbc6e9b92 Adding comment for extension_pre_connect 2012-02-25 10:57:49 +01:00
Norbert Federa
b224126cc7 Completed (almost) System Pointer Update (MS-RDPBCGR 2.2.9.1.1.4.3)
Todo:
- Windows client: wf_Pointer_SetNull and wf_Pointer_SetDefault are just skeletons like all the other wf_Pointer functions.
- DirectFB client: only df_Pointer_SetNull is implemented and tested
2012-02-24 13:44:23 +01:00
LittleJawa
3e919f7a40 Merge remote-tracking branch 'upstream/master' 2012-02-23 16:57:29 +01:00
LittleJawa
d304992eea Updating comments 2012-02-23 16:30:04 +01:00
LittleJawa
37b35b3558 First round of comments while reading the code. 2012-02-23 16:22:05 +01:00
Pawel Jakub Dawidek
d70cc2f4ea For salted checksums we need separate counters, as the
encrypt_use_count and decrypt_use_count counters are reset during key
regeneration and we need counters that are never reset.
2012-02-22 19:26:00 +01:00
Mads Kiilerich
1e46fae33e debug: remove extra newlines in debug messages 2012-02-21 23:22:01 +01:00
Marc-Andr Moreau
60aac7aea3 wfreerdp: fix windows compilation 2012-02-20 21:56:55 -08:00
Mads Kiilerich
165d39a290 libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu
fastpath_input_pdu_init already reserved space for fastpath_get_sec_bytes()
which thus already was included in stream_get_length() in
fastpath_send_input_pdu(). Adding sec_bytes again just added extra invalid (but
correctly hashed/encrypted) bytes to the PDU.
2012-02-20 21:03:31 +01:00
Mads Kiilerich
1500ab1cb0 libfreerdp-core: fastpath_send_input_pdu can handle fastpath PDUs up to 32k 2012-02-20 21:03:28 +01:00
Marc-André Moreau
2152db9eb4 libfreerdp-locale: move time zone detection code 2012-02-19 21:08:12 -05:00
Marc-André Moreau
a932835f44 libfreerdp-auth: resolve cyclic dependency with libfreerdp-core 2012-02-19 12:50:30 -05:00
Marc-André Moreau
4e6a2e3226 Merge pull request #441 from louyihua/master
Fix a compilation error under WIN32
2012-02-18 13:03:51 -08:00
louyihua
0684df1ae4 Fix a compilation error under WIN32. 2012-02-19 02:00:34 +08:00
Anthony Tong
542a472b2e libfreerdp-core: disable fp input if FIPS is negotiated 2012-02-18 08:49:20 -06:00
Marc-André Moreau
61da01973d libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code 2012-02-17 17:43:00 -05:00
Marc-André Moreau
8cab067498 libfreerdp-auth: move authentication code out of libfreerdp-core 2012-02-17 17:12:21 -05:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Marc-André Moreau
d29e37c20f libfreerdp-core: started parsing NTLM authenticate message 2012-02-17 00:07:16 -05:00
Marc-André Moreau
fee9ef06e0 libfreerdp-core: added server-side NTLMSSP negotiate and challenge messages 2012-02-16 23:11:59 -05:00
Marc-André Moreau
37e4729a9e libfreerdp-core: cleanup time zones 2012-02-16 21:38:32 -05:00
Marc-André Moreau
e1ef70ab5f libfreerdp-core: add full timezone redirection support 2012-02-16 20:50:14 -05:00
Marc-André Moreau
e08da86efd libfreerdp-core: add unix timezone identifier detection 2012-02-16 17:09:14 -05:00
Marc-André Moreau
15c17e04cf libfreerdp-core: added generated Time Zone Redirection table 2012-02-16 02:08:39 -05:00
Marc-André Moreau
6cca235ae6 libfreerdp-core: move timezone code from info.c to timezone.c 2012-02-16 01:53:58 -05:00
Marc-André Moreau
aa7b83ff1e libfreerdp-core: fix issue #436 2012-02-15 16:33:51 -05:00
Marc-André Moreau
5d7e55fe9d libfreerdp-core: fix timezone redirection 2012-02-15 16:28:47 -05:00
Bernhard Miklautz
ab057141b0 core: Fixed segfault when connecting with nla 2012-02-14 16:00:13 +01:00
Marc-André Moreau
4fe4cd35e3 libfreerdp-server: added server-side CredSSP stubs 2012-02-13 22:27:59 -05:00
Marc-André Moreau
1d3e3a466d libfreerdp-core: started server-side NLA 2012-02-13 21:49:41 -05:00
Marc-André Moreau
06330a7cb3 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-13 17:51:56 -05:00
Marc-André Moreau
708ba9bd03 libfreerdp-core: expanded input API 2012-02-13 17:51:42 -05:00
Marc-André Moreau
e22023cc76 libfreerdp-cache: start NineGrid cache 2012-02-12 20:29:33 -05:00
Marc-André Moreau
233b0b6ef4 libfreerdp-gdi: add mem3blt support 2012-02-12 19:41:39 -05:00
Marc-André Moreau
f7a71079dd xfreerdp: reintroduce Polygon drawing 2012-02-12 17:14:59 -05:00
Pawel Jakub Dawidek
928dc74782 Remove tls->cert field, make tls_get_certificate() static and free certificate after use. 2012-02-12 19:08:16 +01:00
Marc-André Moreau
d37e6091b0 libfreerdp-core: verify TLS certificate with both TLS and NLA 2012-02-12 12:46:53 -05:00
Pawel Jakub Dawidek
3e464c3a7d Plug some resource leaks. 2012-02-12 18:09:09 +01:00
Pawel Jakub Dawidek
f74ea2f034 Write fingerprint to proper descriptor. 2012-02-12 18:09:03 +01:00
Pawel Jakub Dawidek
d2b82c4166 Advertise persistent bitmap cache only if it is enabled. 2012-02-11 15:11:10 +01:00
Pawel Jakub Dawidek
3aa804f176 Before asking for element from the PRIMARY_DRAWING_ORDER_FIELD_BYTES[] array, check if the array is big enough. 2012-02-11 14:33:54 +01:00
Pawel Jakub Dawidek
cb4668ca68 When acting as server, accepth client's color depth only if it is smaller than ours. This is what Windows server does. 2012-02-11 14:33:48 +01:00