core client side: set flag to crypt license
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Mon, 1 Dec 2014 10:12:34 +0000 (11:12 +0100)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Mon, 1 Dec 2014 10:12:34 +0000 (11:12 +0100)
Client side code always tells the server that it is capable of processing
encrypted licensing packages (SEC_LICENSE_ENCRYPT_SC) but didn't set
the recently added flag to indicate that.

Fixes #2196

libfreerdp/core/connection.c

index fa53f44..acd0d27 100644 (file)
@@ -449,6 +449,8 @@ static BOOL rdp_client_establish_keys(rdpRdp* rdp)
        if (status < 0)
                goto end;
 
+       rdp->do_crypt_license = TRUE;
+
        /* now calculate encrypt / decrypt and update keys */
        if (!security_establish_keys(settings->ClientRandom, rdp))
                goto end;