exit sec_parse_crypt_info if crypt_level is 0 from up19-7-3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@88 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
d6c9bb1b1c
commit
720a67fb61
2
secure.c
2
secure.c
@ -474,6 +474,8 @@ sec_parse_crypt_info(STREAM s, uint32 * rc4_key_size,
|
|||||||
|
|
||||||
in_uint32_le(s, *rc4_key_size); /* 1 = 40-bit, 2 = 128-bit */
|
in_uint32_le(s, *rc4_key_size); /* 1 = 40-bit, 2 = 128-bit */
|
||||||
in_uint32_le(s, crypt_level); /* 1 = low, 2 = medium, 3 = high */
|
in_uint32_le(s, crypt_level); /* 1 = low, 2 = medium, 3 = high */
|
||||||
|
if (crypt_level == 0) /* no encryptation */
|
||||||
|
return False;
|
||||||
in_uint32_le(s, random_len);
|
in_uint32_le(s, random_len);
|
||||||
in_uint32_le(s, rsa_info_len);
|
in_uint32_le(s, rsa_info_len);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user