Commit Graph

42 Commits

Author SHA1 Message Date
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Pawel Jakub Dawidek
af87360135 MCS data header might be 7 or 8 bytes long, depending on the length.
To reduce confusion a bit rename MCS_SEND_DATA_HEADER_LENGTH to
MCS_SEND_DATA_HEADER_MAX_LENGTH and also rename other defines that use
MCS_SEND_DATA_HEADER_MAX_LENGTH.
2012-01-25 17:14:44 +01:00
Pawel Jakub Dawidek
44663ab332 Introduce more complete RSA API that implements:
- crypto_rsa_public_encrypt()
- crypto_rsa_public_decrypt()
- crypto_rsa_private_encrypt()
- crypto_rsa_private_decrypt()
2012-01-19 04:48:52 +01:00
Mike Gilbert
4048ddce6d libfreerdp-core: More strings cleanup.
- Comment out unused lookup tables.
- ifdef tables where appropriate.
- Change declarations to produce read-only sections.

See also:
http://blog.flameeyes.eu/2007/12/19/array-of-pointers-and-array-of-arrays
2011-11-29 21:08:07 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Nicolas GRAZIANO
0622ab87cf When connecting to windows XP, the server do not set Blob type for license error message.
So I made the exception more general.
2011-10-08 18:41:19 +02:00
Marc-André Moreau
5e20bbc904 libfreerdp-core: fix licensing when no username is given 2011-10-04 19:06:39 -04:00
Anthony Tong
90d87f130c work on licensing
- get device licensing from rdp5.2 servers (?) to not reject license request
with ERR_INVALID_CLIENT
2011-09-19 11:44:13 -04:00
Anthony Tong
98d92c794f fix license processing when no server cert is sent 2011-09-16 16:37:20 -04:00
Marc-André Moreau
405026575b libfreerdp-core: merging jsorg71's work on old encryption support 2011-09-14 22:09:33 -04:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Jay Sorg
afc9ac89ae work on Proprietary Certificate 2011-09-05 11:02:52 -07:00
Marc-André Moreau
54c5e06e47 libfreerdp-core: started implementation of server redirection 2011-09-02 21:34:51 -04:00
Marc-André Moreau
c03b98f3fa libfreerdp-core: fix licensing debug output 2011-08-24 16:54:32 -04:00
Vic Lee
3178d27848 Rename more functions. 2011-08-23 13:26:24 +08:00
Vic Lee
c08fef7d33 libfreerdp-core: change client connection sequence using nonblocking. 2011-08-22 17:11:50 +08:00
Vic Lee
eca166a22d server: fix incorrect flag in license module. 2011-08-21 10:57:01 +08:00
Vic Lee
15365b86af server: send valid client license error pdu. 2011-08-20 21:41:40 +08:00
Marc-André Moreau
c1eddf31c3 windows: fix warnings 2011-08-16 21:08:14 -04:00
Marc-André Moreau
0efc0c5a44 windows: start fixing windows compilation 2011-08-15 17:05:48 -04:00
Marc-André Moreau
d359f026ee libfreerdp-core: cleanup licensing debug output 2011-08-08 14:51:03 -04:00
Marc-André Moreau
9d6e9bf27d libfreerdp-core: quick hack to complete licensing sequence successfully 2011-08-08 14:32:18 -04:00
Marc-André Moreau
c59f441fbc libfreerdp-core: fix first two messages of licensing phase 2011-08-08 12:57:19 -04:00
Marc-André Moreau
9c64b994da libfreerdp-core: added complete errinfo lookup table with full meaning strings 2011-08-07 23:59:28 -04:00
Vic Lee
95a76fa888 libfreerdp-core: add channel_id argument to rdp_write_header and rdp_send. 2011-08-03 12:34:55 +08:00
Brad Hards
2601d110aa Various minor warning fixes and unittest fixes. 2011-07-27 09:14:11 +10:00
Marc-André Moreau
1a2dc6f3d9 libfreerdp-core: refactoring of licensing code, refactoring of connection sequence 2011-07-17 23:16:31 -04:00
Marc-André Moreau
cce6518336 libfreerdp-core: added state machine transitions to license module 2011-07-15 02:02:09 -04:00
Marc-André Moreau
288aacb6e9 libfreerdp-core: add new unit tests for licensing, fix encryption of premaster secret 2011-07-15 01:11:09 -04:00
Marc-André Moreau
08c14ddf33 libfreerdp-core: fix computation of session key blob 2011-07-14 17:02:35 -04:00
Marc-André Moreau
d19f0d1584 libfreerdp-core: improve premaster secret encryption, but does not pass unit test yet 2011-07-13 13:13:42 -04:00
Marc-André Moreau
9ce4ec492a cunit: added more test data to licensing unit test 2011-07-13 12:17:38 -04:00
Marc-André Moreau
4a79434e0b cunit: added licensing unit tests 2011-07-13 11:40:19 -04:00
Marc-André Moreau
685c8d4635 libfreerdp-core: licensing cryptographic response 2011-07-13 10:21:12 -04:00
Marc-André Moreau
a8e1da7252 libfreerdp-core: started parsing of X.509 certificates 2011-07-12 21:43:52 -04:00
Marc-André Moreau
518498546e libfreerdp-core: started certificate parsing 2011-07-12 18:18:24 -04:00
Marc-André Moreau
0d2b3c0ca5 libfreerdp-core: generation of licensing keys 2011-07-12 15:10:43 -04:00
Marc-André Moreau
30db2dc429 libfreerdp-core: TCP: obtain MAC address, LICENSE: generated HWID based on MAC 2011-07-12 02:53:26 -04:00
Marc-André Moreau
f6de37d814 libfreerdp-core: get server response for new license request 2011-07-12 01:57:09 -04:00
Marc-André Moreau
4da5b77cbe libfreerdp-core: encoding and sending of licensing packets 2011-07-12 01:16:59 -04:00
Marc-André Moreau
d797e7ce92 libfreerdp-core: started licensing module 2011-07-11 20:46:03 -04:00