Patchwork Fix the inconsistency in x509-dh-key-file parameter

login
register
mail settings
Submitter Lei Li
Date Nov. 15, 2012, 7:09 a.m.
Message ID <1352963389-29706-1-git-send-email-lilei@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/199199/
State New
Headers show

Comments

Lei Li - Nov. 15, 2012, 7:09 a.m.
Fix the inconsistency between the declaration of the
option 'x509-dh-key-file' to -spice command line and
its parameter parsing.

https://bugs.launchpad.net/qemu/+bug/1035042

Reported-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
---
 ui/spice-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/ui/spice-core.c b/ui/spice-core.c
index 5147365..261c6f2 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -610,7 +610,7 @@  void qemu_spice_init(void)
         }
 
         x509_key_password = qemu_opt_get(opts, "x509-key-password");
-        x509_dh_file = qemu_opt_get(opts, "x509-dh-file");
+        x509_dh_file = qemu_opt_get(opts, "x509-dh-key-file");
         tls_ciphers = qemu_opt_get(opts, "tls-ciphers");
     }