summary refs log tree commit diff stats
path: root/ui/vnc.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-03-04 10:27:42 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2022-04-26 16:12:25 +0100
commitc6b310b37c3e3f898d56955646e6d49c60ef7a63 (patch)
tree7d7f62869dda93a821d258b3bdf6a3b9e3aa0528 /ui/vnc.c
parenta1755db71e34df016ffc10aa0727360aae2c6036 (diff)
downloadfocaccia-qemu-c6b310b37c3e3f898d56955646e6d49c60ef7a63.tar.gz
focaccia-qemu-c6b310b37c3e3f898d56955646e6d49c60ef7a63.zip
softmmu: remove deprecated --enable-fips option
Users requiring FIPS support must build QEMU with either the libgcrypt
or gnutls libraries as the crytography backend.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ui/vnc.c')
-rw-r--r--ui/vnc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index badf1d7664..1347e27b5b 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -4059,13 +4059,6 @@ void vnc_display_open(const char *id, Error **errp)
         password = qemu_opt_get_bool(opts, "password", false);
     }
     if (password) {
-        if (fips_get_state()) {
-            error_setg(errp,
-                       "VNC password auth disabled due to FIPS mode, "
-                       "consider using the VeNCrypt or SASL authentication "
-                       "methods as an alternative");
-            goto fail;
-        }
         if (!qcrypto_cipher_supports(
                 QCRYPTO_CIPHER_ALG_DES, QCRYPTO_CIPHER_MODE_ECB)) {
             error_setg(errp,