diff options
author | Richard Henderson | 2019-03-14 23:37:43 +0100 |
---|---|---|
committer | Richard Henderson | 2019-05-22 18:38:54 +0200 |
commit | f7b2502cdc2eeb458a4490c1b8f4a83c07d46219 (patch) | |
tree | 3612248269e460c43bb21733e3c6d0ca671fabaa /util | |
parent | ui/vnc: Split out authentication_failed (diff) | |
download | qemu-f7b2502cdc2eeb458a4490c1b8f4a83c07d46219.tar.gz qemu-f7b2502cdc2eeb458a4490c1b8f4a83c07d46219.tar.xz qemu-f7b2502cdc2eeb458a4490c1b8f4a83c07d46219.zip |
ui/vnc: Use gcrypto_random_bytes for start_auth_vnc
Use a better interface for random numbers than rand().
Fail gracefully if for some reason we cannot use the crypto system.
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>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions