platform/upstream/freerdp.git
12 years agolibfreerdp-utils: extend plugin utils
Marc-André Moreau [Fri, 10 Feb 2012 00:48:52 +0000 (19:48 -0500)]
libfreerdp-utils: extend plugin utils

12 years agolibfreerdp-utils: improve freerdp_load_plugin
Marc-André Moreau [Thu, 9 Feb 2012 22:48:30 +0000 (17:48 -0500)]
libfreerdp-utils: improve freerdp_load_plugin

12 years agolibfreerdp-channels: refactoring
Marc-André Moreau [Thu, 9 Feb 2012 21:57:14 +0000 (16:57 -0500)]
libfreerdp-channels: refactoring

12 years agolibfreerdp-gdi: optimize line drawing
Marc-André Moreau [Thu, 9 Feb 2012 03:34:37 +0000 (22:34 -0500)]
libfreerdp-gdi: optimize line drawing

12 years agolibfreerdp-utils: fix file utils
Marc-André Moreau [Thu, 9 Feb 2012 02:56:50 +0000 (21:56 -0500)]
libfreerdp-utils: fix file utils

12 years agowfreerdp: fix RemoteFX
Marc-André Moreau [Thu, 9 Feb 2012 02:44:22 +0000 (21:44 -0500)]
wfreerdp: fix RemoteFX

12 years agowfreerdp: fix compilation and warnings
Marc-André Moreau [Thu, 9 Feb 2012 02:16:37 +0000 (21:16 -0500)]
wfreerdp: fix compilation and warnings

12 years agolibfreerdp-core: change source descriptor from MSTSC to FREERDP
Marc-André Moreau [Wed, 8 Feb 2012 19:45:24 +0000 (14:45 -0500)]
libfreerdp-core: change source descriptor from MSTSC to FREERDP

12 years agoMerge pull request #408 from pjd/fixes
Marc-André Moreau [Wed, 8 Feb 2012 15:29:11 +0000 (07:29 -0800)]
Merge pull request #408 from pjd/fixes

The fastpath header can be two or three bytes long. Check also for the latter case.

12 years agoMove the comment into correct place.
Pawel Jakub Dawidek [Wed, 8 Feb 2012 11:46:53 +0000 (12:46 +0100)]
Move the comment into correct place.

12 years agoThe fastpath header can be two or three bytes long. Check also the latter case.
Pawel Jakub Dawidek [Wed, 8 Feb 2012 10:50:29 +0000 (11:50 +0100)]
The fastpath header can be two or three bytes long. Check also the latter case.

12 years agoMerge pull request #407 from hcgpalm/master
Marc-André Moreau [Wed, 8 Feb 2012 04:27:16 +0000 (20:27 -0800)]
Merge pull request #407 from hcgpalm/master

Fix info_packet misalignment

12 years agolibfreerdp-core: improve error checking in certificate validation
Marc-André Moreau [Wed, 8 Feb 2012 03:16:57 +0000 (22:16 -0500)]
libfreerdp-core: improve error checking in certificate validation

12 years agoMerge pull request #404 from pjd/server_slow_path_input
Otavio Salvador [Tue, 7 Feb 2012 13:01:53 +0000 (05:01 -0800)]
Merge pull request #404 from pjd/server_slow_path_input

Implement server-side support for slow-path Input Event PDU.

12 years agoMerge pull request #403 from pjd/fixes
Otavio Salvador [Tue, 7 Feb 2012 13:00:49 +0000 (05:00 -0800)]
Merge pull request #403 from pjd/fixes

Modify the UnicodeKeyboardEvent callback to also include flags argument and simplify code by using per_read_length() instead of reimplementing it.

12 years agoImplement server-side support for slow-path Input Event PDU.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 12:38:27 +0000 (13:38 +0100)]
Implement server-side support for slow-path Input Event PDU.

12 years agoModify the UnicodeKeyboardEvent callback to also include flags argument.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 11:22:01 +0000 (12:22 +0100)]
Modify the UnicodeKeyboardEvent callback to also include flags argument.
According to the specification first two bytes contain keyboardFlags.
Those keyboardFlags are a bit different than in the regular (non-unicode)
Keyboard Event. There is no KBD_FLAGS_EXTENDED here and also when
key is pressed there is neither KBD_FLAGS_DOWN nor KBD_FLAGS_RELEASE flag
set. When key is released the KBD_FLAGS_RELEASE flag is set.

12 years agoSimplify code by using per_read_length() instead of reimplementing it.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 10:15:32 +0000 (11:15 +0100)]
Simplify code by using per_read_length() instead of reimplementing it.

12 years agoMerge pull request #402 from pjd/disconnect
Marc-André Moreau [Tue, 7 Feb 2012 02:31:27 +0000 (18:31 -0800)]
Merge pull request #402 from pjd/disconnect

Graceful exit.

12 years agoAfter DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to...
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:37:18 +0000 (22:37 +0100)]
After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).

12 years agoMerge pull request #401 from pjd/fixes
Marc-André Moreau [Mon, 6 Feb 2012 21:42:47 +0000 (13:42 -0800)]
Merge pull request #401 from pjd/fixes

Better length checking and Windows XP fix.

12 years agoWindows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly.
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:34:16 +0000 (22:34 +0100)]
Windows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly.

12 years agoBetter packet length checking.
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:31:41 +0000 (22:31 +0100)]
Better packet length checking.

12 years agoFix password field length
Christer Palm [Mon, 6 Feb 2012 00:27:21 +0000 (01:27 +0100)]
Fix password field length

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sat, 4 Feb 2012 23:18:54 +0000 (18:18 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agoxfreerdp-server: improve XShm encoding
Marc-André Moreau [Sat, 4 Feb 2012 23:18:46 +0000 (18:18 -0500)]
xfreerdp-server: improve XShm encoding

12 years agolibfreerdp-core: added --certificate-name option for explicitly specifying a certific...
Marc-André Moreau [Sat, 4 Feb 2012 20:16:41 +0000 (15:16 -0500)]
libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name

12 years agolibfreerdp-core: improve and clarify certificate checking
Marc-André Moreau [Sat, 4 Feb 2012 20:04:03 +0000 (15:04 -0500)]
libfreerdp-core: improve and clarify certificate checking

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sat, 4 Feb 2012 07:21:49 +0000 (02:21 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agolibfreerdp-core: added check for certificate name against hostname
Marc-André Moreau [Sat, 4 Feb 2012 07:21:39 +0000 (02:21 -0500)]
libfreerdp-core: added check for certificate name against hostname

12 years agoMerge pull request #397 from NiKiZe/master
Marc-André Moreau [Fri, 3 Feb 2012 23:07:43 +0000 (15:07 -0800)]
Merge pull request #397 from NiKiZe/master

Remove duplicate xfree in cliprdr_process_format_list

12 years agoFix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ?
Christian Nilsson [Fri, 3 Feb 2012 23:04:41 +0000 (00:04 +0100)]
Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ?

12 years agoMerge pull request #396 from celsius/master
Marc-André Moreau [Fri, 3 Feb 2012 15:59:35 +0000 (07:59 -0800)]
Merge pull request #396 from celsius/master

remove redundant or useless (?) checks for NULL pointer

12 years agoMerge pull request #394 from pjd/fixes
Marc-André Moreau [Fri, 3 Feb 2012 15:49:38 +0000 (07:49 -0800)]
Merge pull request #394 from pjd/fixes

Plug memory leak in case of an empty file and terminate string with '\0'.

12 years agoremove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Alexis Moinet [Fri, 3 Feb 2012 14:27:04 +0000 (15:27 +0100)]
remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()

12 years agoFix problem where we check errno even for status == 0. This way when connection was...
Pawel Jakub Dawidek [Fri, 3 Feb 2012 13:44:45 +0000 (14:44 +0100)]
Fix problem where we check errno even for status == 0. This way when connection was properly terminated, but errno had EAGAIN value from before, we looped idenfiniately.

12 years agoPlug memory leak in case of an empty file and terminate string with '\0'.
Pawel Jakub Dawidek [Fri, 3 Feb 2012 08:00:39 +0000 (09:00 +0100)]
Plug memory leak in case of an empty file and terminate string with '\0'.

12 years agolibfreerdp-core: change certificate store directory name to match OpenSSL
Marc-André Moreau [Thu, 2 Feb 2012 23:33:26 +0000 (18:33 -0500)]
libfreerdp-core: change certificate store directory name to match OpenSSL

12 years agolibfreerdp-core: merging certificate.c with certstore.c
Marc-André Moreau [Thu, 2 Feb 2012 23:20:02 +0000 (18:20 -0500)]
libfreerdp-core: merging certificate.c with certstore.c

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 2 Feb 2012 22:36:16 +0000 (17:36 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agolibfreerdp-utils: refactoring of certificate store
Marc-André Moreau [Thu, 2 Feb 2012 22:36:07 +0000 (17:36 -0500)]
libfreerdp-utils: refactoring of certificate store

12 years agoMerge pull request #392 from pjd/fixes
Marc-André Moreau [Thu, 2 Feb 2012 22:25:12 +0000 (14:25 -0800)]
Merge pull request #392 from pjd/fixes

Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.

12 years agoRemove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.
Pawel Jakub Dawidek [Thu, 2 Feb 2012 22:21:10 +0000 (23:21 +0100)]
Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.

12 years agoMerge pull request #391 from pjd/fixes
Marc-André Moreau [Thu, 2 Feb 2012 21:49:37 +0000 (13:49 -0800)]
Merge pull request #391 from pjd/fixes

Fixes for ber_write_integer().

12 years agoAccording to specification bits from the first octet and bit 8 from the second octet...
Pawel Jakub Dawidek [Thu, 2 Feb 2012 20:48:56 +0000 (21:48 +0100)]
According to specification bits from the first octet and bit 8 from the second octet (if there is more than one octet) shall not all be ones.
Before that change integer >= 0xFF80 was encoded into two bytes instead of three.
While here also add support for encoding integers into three bytes.

12 years agoMerge pull request #390 from pjd/fixes
Marc-André Moreau [Thu, 2 Feb 2012 18:17:02 +0000 (10:17 -0800)]
Merge pull request #390 from pjd/fixes

Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.

12 years agoAdd missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.
Pawel Jakub Dawidek [Thu, 2 Feb 2012 16:34:19 +0000 (17:34 +0100)]
Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.

12 years agoxfreerdp-server: adjust capture settings for better performance
Marc-André Moreau [Thu, 2 Feb 2012 03:40:36 +0000 (22:40 -0500)]
xfreerdp-server: adjust capture settings for better performance

12 years agoxfreerdp-server: control frame rate per second
Marc-André Moreau [Thu, 2 Feb 2012 03:05:01 +0000 (22:05 -0500)]
xfreerdp-server: control frame rate per second

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 2 Feb 2012 02:37:11 +0000 (21:37 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agoxfreerdp-server: added frame tick event
Marc-André Moreau [Thu, 2 Feb 2012 02:37:01 +0000 (21:37 -0500)]
xfreerdp-server: added frame tick event

12 years agolibfreerdp-core: fix more memory leaks
Marc-André Moreau [Thu, 2 Feb 2012 02:11:46 +0000 (21:11 -0500)]
libfreerdp-core: fix more memory leaks

12 years agolibfreerdp-utils: fix realloc on null pointer in arguments parsing
Marc-André Moreau [Wed, 1 Feb 2012 23:51:41 +0000 (18:51 -0500)]
libfreerdp-utils: fix realloc on null pointer in arguments parsing

12 years agolibfreerdp-core: fix multiple memory leaks detected by valgrind
Marc-André Moreau [Wed, 1 Feb 2012 23:42:20 +0000 (18:42 -0500)]
libfreerdp-core: fix multiple memory leaks detected by valgrind

12 years agocliprdr: fix realloc on null pointer
Marc-André Moreau [Wed, 1 Feb 2012 22:28:12 +0000 (17:28 -0500)]
cliprdr: fix realloc on null pointer

12 years agoMerge pull request #384 from nfedera/redirectsegvfix
Marc-André Moreau [Wed, 1 Feb 2012 17:02:45 +0000 (09:02 -0800)]
Merge pull request #384 from nfedera/redirectsegvfix

core: fixed segfault caused by double free of password_cookie blob

12 years agocore: fixed segfault caused by double free of password_cookie blob
Norbert Federa [Wed, 1 Feb 2012 16:58:06 +0000 (17:58 +0100)]
core: fixed segfault caused by double free of password_cookie blob

12 years agoxfreerdp-server: optimize screen region encoding
Marc-André Moreau [Wed, 1 Feb 2012 02:05:47 +0000 (21:05 -0500)]
xfreerdp-server: optimize screen region encoding

12 years agoxfreerdp-server: fix event queuing
Marc-André Moreau [Tue, 31 Jan 2012 21:28:23 +0000 (16:28 -0500)]
xfreerdp-server: fix event queuing

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 31 Jan 2012 19:10:12 +0000 (14:10 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agoxfreerdp-server: fix memory leak for snapshots
Marc-André Moreau [Tue, 31 Jan 2012 19:09:55 +0000 (14:09 -0500)]
xfreerdp-server: fix memory leak for snapshots

12 years agoMerge pull request #382 from mfleisz/master
Otavio Salvador [Tue, 31 Jan 2012 16:35:24 +0000 (08:35 -0800)]
Merge pull request #382 from mfleisz/master

Init update->SuppressOutput for clients too

12 years agoInit update->SuppressOutput for clients too
Martin Fleisz [Tue, 31 Jan 2012 16:11:22 +0000 (08:11 -0800)]
Init update->SuppressOutput for clients too

12 years agoMerge pull request #381 from pjd/bitmap
Otavio Salvador [Tue, 31 Jan 2012 15:33:23 +0000 (07:33 -0800)]
Merge pull request #381 from pjd/bitmap

Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.

12 years agoEach bitmap send by the server contains color depth. Even if we negotiated 8bpp serve...
Pawel Jakub Dawidek [Tue, 31 Jan 2012 13:33:49 +0000 (14:33 +0100)]
Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.

12 years agoMerge pull request #380 from pjd/stream
Marc-André Moreau [Tue, 31 Jan 2012 12:44:58 +0000 (04:44 -0800)]
Merge pull request #380 from pjd/stream

Use stream API instead of accessing stream fields directly.

12 years agoMerge pull request #379 from pjd/certificate
Marc-André Moreau [Tue, 31 Jan 2012 12:37:47 +0000 (04:37 -0800)]
Merge pull request #379 from pjd/certificate

Use stream_attach() so that the 'size' field in the stream structure is properly set.

12 years agoUse stream API instead of accessing stream fields directly.
Pawel Jakub Dawidek [Tue, 31 Jan 2012 12:34:26 +0000 (13:34 +0100)]
Use stream API instead of accessing stream fields directly.
This include use of stream_attach(), so 'size' is properly set.

12 years agoUse stream_attach() so that the 'size' field in the stream structure
Pawel Jakub Dawidek [Tue, 31 Jan 2012 11:06:35 +0000 (12:06 +0100)]
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.

12 years agoMerge pull request #378 from adambprotiviti/redir-pw-fix
Marc-André Moreau [Tue, 31 Jan 2012 06:55:37 +0000 (22:55 -0800)]
Merge pull request #378 from adambprotiviti/redir-pw-fix

Fixed RDS Farm Redirection

12 years agoFinal commit for fixing password issue; removed debug strings.
Adam Brand [Tue, 31 Jan 2012 04:54:29 +0000 (20:54 -0800)]
Final commit for fixing password issue; removed debug strings.

12 years agoFixed issue with RDS farm redirection and passwords.
Adam Brand [Tue, 31 Jan 2012 04:49:27 +0000 (20:49 -0800)]
Fixed issue with RDS farm redirection and passwords.

12 years agoxfreerdp-server: add event queue
Marc-André Moreau [Tue, 31 Jan 2012 03:46:02 +0000 (22:46 -0500)]
xfreerdp-server: add event queue

12 years agoxfreerdp-server: adding xf_event.c and xf_input.c, refactoring
Marc-André Moreau [Tue, 31 Jan 2012 02:35:15 +0000 (21:35 -0500)]
xfreerdp-server: adding xf_event.c and xf_input.c, refactoring

12 years agoFixed some obvious things; still doesn't work.
Adam Brand [Tue, 31 Jan 2012 02:33:46 +0000 (18:33 -0800)]
Fixed some obvious things; still doesn't work.

12 years agoFirst attempt at fixing the password issue; this segfaults unfortunately.
Adam Brand [Tue, 31 Jan 2012 01:54:46 +0000 (17:54 -0800)]
First attempt at fixing the password issue; this segfaults unfortunately.

12 years agoxfreerdp-server: add better path detection support for finding server keys
Marc-André Moreau [Tue, 31 Jan 2012 01:35:33 +0000 (20:35 -0500)]
xfreerdp-server: add better path detection support for finding server keys

12 years agolibfreerdp-utils: extend file utils to do path detection
Marc-André Moreau [Mon, 30 Jan 2012 22:47:55 +0000 (17:47 -0500)]
libfreerdp-utils: extend file utils to do path detection

12 years agolibfreerdp-core: defined boolean as int on windows
Marc-André Moreau [Mon, 30 Jan 2012 15:18:33 +0000 (10:18 -0500)]
libfreerdp-core: defined boolean as int on windows

12 years agoMerge pull request #376 from bmiklautz/w32typedef
Otavio Salvador [Mon, 30 Jan 2012 13:44:32 +0000 (05:44 -0800)]
Merge pull request #376 from bmiklautz/w32typedef

Fix for issue #374.

12 years agoFix for issue #374.
Bernhard Miklautz [Mon, 30 Jan 2012 11:05:50 +0000 (12:05 +0100)]
Fix for issue #374.

12 years agolibfreerdp-core: fix code style in gcc.c
Marc-André Moreau [Sun, 29 Jan 2012 20:05:34 +0000 (15:05 -0500)]
libfreerdp-core: fix code style in gcc.c

12 years agolibfreerdp-core: fix reconnection for non IP-based redirection
Marc-André Moreau [Sun, 29 Jan 2012 19:49:54 +0000 (14:49 -0500)]
libfreerdp-core: fix reconnection for non IP-based redirection

12 years agowfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer)
Marc-André Moreau [Sun, 29 Jan 2012 16:11:13 +0000 (11:11 -0500)]
wfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer)

12 years agoMerge pull request #371 from bmiklautz/osxdisableffmpeg
Marc-André Moreau [Fri, 27 Jan 2012 02:22:15 +0000 (18:22 -0800)]
Merge pull request #371 from bmiklautz/osxdisableffmpeg

build: make ffmpeg optional on os x

12 years agobuild: make ffmpeg optional on os x
Bernhard Miklautz [Fri, 27 Jan 2012 01:32:06 +0000 (02:32 +0100)]
build: make ffmpeg optional on os x

FFMPEG isn't installed per default on os x so it should be optional
instead of suggested.

12 years agoMerge pull request #370 from bmiklautz/buildfixes
Marc-André Moreau [Fri, 27 Jan 2012 01:29:07 +0000 (17:29 -0800)]
Merge pull request #370 from bmiklautz/buildfixes

build: raise an error if pkg is not found

12 years agobuild: raise an error if pkg is not found
Bernhard Miklautz [Fri, 27 Jan 2012 01:13:08 +0000 (02:13 +0100)]
build: raise an error if pkg is not found

Changed FFmpeg, PCSC and PulseAudio cmake find to raise an error if
an required package was not found.

12 years agoMerge pull request #368 from pjd/crypto
Marc-André Moreau [Wed, 25 Jan 2012 16:30:16 +0000 (08:30 -0800)]
Merge pull request #368 from pjd/crypto

Server-side Standard RDP Security support.

12 years agoAdd glue that enables server-side support for Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:08:10 +0000 (17:08 +0100)]
Add glue that enables server-side support for Standard RDP Security.

12 years ago- Ignore received encryption_method and encryption_level if we don't support encryption.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:04:19 +0000 (17:04 +0100)]
- Ignore received encryption_method and encryption_level if we don't support encryption.
- Print a warning if we receive unregognized type.

12 years agoAdd complete implementation of gcc_write_server_security_data() function
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:00:40 +0000 (17:00 +0100)]
Add complete implementation of gcc_write_server_security_data() function
that implements server-side Standard RDP Security.

12 years agoAdd rdp_server_establish_keys() function that is responsible for
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:57:23 +0000 (16:57 +0100)]
Add rdp_server_establish_keys() function that is responsible for
establishing encryption keys for server-side Standard RDP Security.

12 years agoAdd a note why we are skipping 8 bytes.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:55:03 +0000 (16:55 +0100)]
Add a note why we are skipping 8 bytes.

12 years agoAdd fields to store RSA key for server-side Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:52:32 +0000 (16:52 +0100)]
Add fields to store RSA key for server-side Standard RDP Security.

12 years agoAdd API to load RSA key for Standard RDP Security in server mode.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:45:21 +0000 (16:45 +0100)]
Add API to load RSA key for Standard RDP Security in server mode.

12 years ago- Don't fill client_random with 0x5e, we are going to fill it up with
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:32:56 +0000 (16:32 +0100)]
- Don't fill client_random with 0x5e, we are going to fill it up with
  random data in the next line.
- Use less magic numbers.

12 years agoAdd missing decryption.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:30:54 +0000 (16:30 +0100)]
Add missing decryption.

12 years agoWhite-space fixes.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:27:00 +0000 (16:27 +0100)]
White-space fixes.

12 years agoCorrect style.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:26:32 +0000 (16:26 +0100)]
Correct style.