mirror of
https://github.com/qemu/qemu.git
synced 2024-12-14 06:53:43 +08:00
vnc: fix vnc client authentication
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJVpRDoAAoJEEy22O7T6HE4+48P/3SvdbcuYzuZ444I55ZGoXRk zG67nZzgKGiH8H3Bfwkp529bqdByk5NN7g0vFZ2V5/AsOHK8pD10XxlUQcfGGfgi YY3N4E6xDfz10qmE3ui0l08684pquf7y/UjMUUCc6th0azzq7RthF8br73KYVIJP stqZ+jclSeYaTNtgKdpCtuwComDF3tUStL/AttWm3Ab8rsUU8lTp6GBpgbYgvcsv xNnZn7rCO1VfgubFktV6aeQ3PSZAXqGQvFS/TnJzZEmaf7rLkhtiPPKHn4KvDzMs yyzJvWi+AmYBWzmvqjlr+bITikYD9jYviykjOHj/iRr1SNo/vYq1pbekWwlF+OJd Wm1YCkk+Mq5xJ6ZYHOJZKsRMvOOVCipAyC1keZU0OAxhvgn1WJK33vBscJSicaUn WiYILwQHChqGKoHSWm3D/xlsuvJ1dAOf9QSDLbjO9nbUJ08UVX7NJgsuDZSnsRFd OZkRPN43jD/Fe48DvmdbTpO/KQLUSSNiBtQcJzlCFLNoymM0gRqcUkkxldbA81fb QaQu6M5VTqNAjPU+bWki1Ujt8dwrc5gMbepbxPLzaRLwGZur5IDH9Xhv7doGq4Rf wsQ2WfChvVdpS5gsnpMQ7O1SnnhTSloSINnCBekJxU+1ajbrZLoNcqBd9CbX092D YYirA6xtPl98UDVpXJOY =5QUV -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-20150714-1' into staging vnc: fix vnc client authentication # gpg: Signature made Tue Jul 14 14:38:48 2015 BST using RSA key ID D3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" * remotes/kraxel/tags/pull-vnc-20150714-1: vnc: fix vnc client authentication Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
0030ff4047
2
ui/vnc.c
2
ui/vnc.c
@ -2551,7 +2551,7 @@ static int protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len)
|
|||||||
goto reject;
|
goto reject;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qcrypto_cipher_decrypt(cipher,
|
if (qcrypto_cipher_encrypt(cipher,
|
||||||
vs->challenge,
|
vs->challenge,
|
||||||
response,
|
response,
|
||||||
VNC_AUTH_CHALLENGE_SIZE,
|
VNC_AUTH_CHALLENGE_SIZE,
|
||||||
|
Loading…
Reference in New Issue
Block a user