Commit Graph

36 Commits

Author SHA1 Message Date
Marc-André Moreau
dfb7ea3775 libfreerdp-auth: start using server-side NTLM module 2012-03-04 21:56:41 -05:00
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
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Pawel Jakub Dawidek
f74ea2f034 Write fingerprint to proper descriptor. 2012-02-12 18:09:03 +01:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -05:00
Pawel Jakub Dawidek
feb20edda7 Plug memory leak in case of an empty file and terminate string with '\0'. 2012-02-03 09:00:39 +01:00
Marc-André Moreau
9c81ff8022 libfreerdp-core: change certificate store directory name to match OpenSSL 2012-02-02 18:33:26 -05:00
Marc-André Moreau
521f956c00 libfreerdp-core: merging certificate.c with certstore.c 2012-02-02 18:20:17 -05:00
Marc-André Moreau
bae5de89e1 libfreerdp-utils: refactoring of certificate store 2012-02-02 17:36:07 -05:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -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
d2860f3210 Use stream_attach() so that the 'size' field in the stream structure
is properly set. This allows to assert in stream API that we don't
try to access memory outside stream buffer.
2012-01-31 12:15:54 +01:00
Pawel Jakub Dawidek
76f36461ff Add a note why we are skipping 8 bytes. 2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
ee9739f490 Add API to load RSA key for Standard RDP Security in server mode. 2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
ab4beb787f Implement signature verification in Server Security Data packet.
Because this signature doesn't protect against anything, only warn
the user if it is invalid.
2012-01-19 04:49:03 +01:00
Pawel Jakub Dawidek
9b07d525fb Introduce SIGNATURE_ALG_RSA and KEY_EXCHANGE_ALG_RSA defines and use them
instead of magic values.
2012-01-17 17:55:31 +01:00
Pawel Jakub Dawidek
7056f5f5ef Make use of stream_read(). 2012-01-16 15:56:47 +01:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Anthony Tong
d9f7dec00b Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2011-09-19 11:59:09 -04:00
Anthony Tong
5dd60ff891 - the x509 modulus & exponent are reversed 2011-09-19 11:56:12 -04:00
Marc-André Moreau
df3d4d4a80 xfreerdp: initial glyph drawing support 2011-09-18 18:29:23 -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
afc9ac89ae work on Proprietary Certificate 2011-09-05 11:02:52 -07:00
Marc-André Moreau
6fdecdb01b debug: cleanup printf's all over the place 2011-09-02 13:29:17 -04:00
Marc-André Moreau
c1eddf31c3 windows: fix warnings 2011-08-16 21:08:14 -04:00
Marc-André Moreau
4f6f990806 libfreerdp-utils: added snprintf wrapper for windows portability 2011-08-16 15:00:25 -04:00
Brad Hards
2601d110aa Various minor warning fixes and unittest fixes. 2011-07-27 09:14:11 +10:00
Marc-André Moreau
e57e7a082a libfreerdp-core: remove dependency on libfreerdp-asn1 for credssp_recv 2011-07-18 17:02:06 -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
48344cf4f7 libfreerdp-core: fix padding when reading public key from X.509 certificate 2011-07-13 15:10:43 -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
fe6cab1761 libfreerdp-core: extract modulus and exponent from X.509 certificate 2011-07-12 23:50:51 -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