Define and use RDP5-related licence tags. Seems to solve the troubles with
undefined licence tags when running in RDP5 mode. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@358 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
c1e1a91402
commit
bc446480d5
11
constants.h
11
constants.h
@ -94,6 +94,17 @@ enum MCS_PDU_TYPE
|
||||
#define LICENCE_TAG_AUTHRESP 0x0215
|
||||
#define LICENCE_TAG_RESULT 0x02ff
|
||||
|
||||
#define LICENCE_TAG_DEMAND_5 0x0301
|
||||
#define LICENCE_TAG_AUTHREQ_5 0x0302
|
||||
#define LICENCE_TAG_ISSUE_5 0x0303
|
||||
#define LICENCE_TAG_REISSUE_5 0x0304
|
||||
#define LICENCE_TAG_PRESENT_5 0x0312
|
||||
#define LICENCE_TAG_REQUEST_5 0x0313
|
||||
#define LICENCE_TAG_AUTHRESP_5 0x0315
|
||||
#define LICENCE_TAG_RESULT_5 0x03ff
|
||||
|
||||
|
||||
|
||||
#define LICENCE_TAG_USER 0x000f
|
||||
#define LICENCE_TAG_HOST 0x0010
|
||||
|
||||
|
@ -291,21 +291,26 @@ licence_process(STREAM s)
|
||||
switch (tag)
|
||||
{
|
||||
case LICENCE_TAG_DEMAND:
|
||||
case LICENCE_TAG_DEMAND_5:
|
||||
licence_process_demand(s);
|
||||
break;
|
||||
|
||||
case LICENCE_TAG_AUTHREQ:
|
||||
case LICENCE_TAG_AUTHREQ_5:
|
||||
licence_process_authreq(s);
|
||||
break;
|
||||
|
||||
case LICENCE_TAG_ISSUE:
|
||||
case LICENCE_TAG_ISSUE_5:
|
||||
licence_process_issue(s);
|
||||
break;
|
||||
|
||||
case LICENCE_TAG_REISSUE:
|
||||
case LICENCE_TAG_REISSUE_5:
|
||||
break;
|
||||
|
||||
case LICENCE_TAG_RESULT:
|
||||
case LICENCE_TAG_RESULT_5:
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user