Added handling of licensing packets

This commit is contained in:
akallabeth 2022-10-21 09:45:01 +02:00 committed by David Fort
parent 2dcffa62c5
commit 21fd820edf

View File

@ -1214,6 +1214,21 @@ int rdp_recv_message_channel_pdu(rdpRdp* rdp, wStream* s, UINT16 securityFlags)
return multitransport_server_recv_response(rdp->multitransport, s, &hr) ? 0 : -1; return multitransport_server_recv_response(rdp->multitransport, s, &hr) ? 0 : -1;
} }
if (securityFlags & SEC_LICENSE_PKT)
{
return license_recv(rdp->license, s);
}
if (securityFlags & SEC_LICENSE_ENCRYPT_CS)
{
return license_recv(rdp->license, s);
}
if (securityFlags & SEC_LICENSE_ENCRYPT_SC)
{
return license_recv(rdp->license, s);
}
return 1; return 1;
} }