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:
Jay Sorg 2002-08-04 03:05:19 +00:00
parent d6c9bb1b1c
commit 720a67fb61

View File

@ -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);