ui/vnc: Split out authentication_failed
commit4347e6383f17ae6b70af833b165862f9f338b0b9
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Mar 2019 22:33:08 +0000 (14 15:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 May 2019 16:38:54 +0000 (22 12:38 -0400)
treec6c6bb892a5723df9d64c1828f463a8807c16f19
parentd049b1f2afddd2d3a7b2ed22c274c66305c0b84b
ui/vnc: Split out authentication_failed

There were 3 copies of this code, one of which used the wrong
data size for the failure indicator.

Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
ui/vnc.c