vnc: fix vnc client authentication
Hi,
Here comes the vnc queue with a single one-line fix.
please pull,
Gerd
The following changes since commit 6169b60285fe1ff730d840a49527e721bfb30899:
Update version for v2.4.0-rc0 release (2015-07-09 17:56:56 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-vnc-20150714-1
for you to fetch changes up to a16951375f7669b7faf27f72ca753e25325c5179:
vnc: fix vnc client authentication (2015-07-14 15:33:48 +0200)
----------------------------------------------------------------
vnc: fix vnc client authentication
----------------------------------------------------------------
Wolfgang Bumiller (1):
vnc: fix vnc client authentication
ui/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From: Wolfgang Bumiller <[email protected]>
Commit 800567a61 updated the code to the generic crypto API and mixed up encrypt and decrypt functions in procotol_client_auth_vnc.
(Used to be: deskey(key, EN0) which encrypts, and was changed to qcrypto_cipher_decrypt in 800567a61.) Changed it to qcrypto_cipher_encrypt now.
--- ui/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ui/vnc.c +1 -1
@@ -2551,7 +2551,7 @@ static int protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len) goto reject; } - if (qcrypto_cipher_decrypt(cipher, + if (qcrypto_cipher_encrypt(cipher, vs->challenge, response, VNC_AUTH_CHALLENGE_SIZE,
Signature · 1 line
1.8.3.1
2015-07-14 16:39 GMT+03:00 Gerd Hoffmann <[email protected]>:
Quoted 9 lines
Here comes the vnc queue with a single one-line fix.
please pull,
GerdThe following changes since commit
6169b60285fe1ff730d840a49527e721bfb30899:Update version for v2.4.0-rc0 release (2015-07-09 17:56:56 +0100)
Thanks! This vnc patch fix my issue.
Signature · 2 lines
Vasiliy Tolstov, e-mail: [email protected]
Peter Maydell
AppliedQuoted 13 lines · Gerd Hoffmann
Hi,
Here comes the vnc queue with a single one-line fix.
please pull,
GerdThe following changes since commit
6169b60285fe1ff730d840a49527e721bfb30899:Update version for v2.4.0-rc0 release (2015-07-09 17:56:56 +0100)
are available in the git repository at:
Quoted 8 lines
git://git.kraxel.org/qemutags/pull-vnc-20150714-1for you to fetch changes up to
a16951375f7669b7faf27f72ca753e25325c5179:vnc: fix vnc client authentication (2015-07-14 15:33:48 +0200)
----------------------------------------------------------------
vnc: fix vnc client authentication
Applied, thanks.
-- PMM