Skip to contentSkip to conversation

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

PATCH In review Lei Li 2 participants 2 messages Nov 19, 2012

lore
Share & tools
lore

Lei Li

author
#0 lore raw

PATCH 1/1 Fix the inconsistency in x509-dh-key-file parameter

Commit c448e8552b0f6135dabddf944a7110f929c08320 (spice: tls support) added options to the -spice command line. But there is an inconsistency between the declaration of the option 'x509-dh-key-file' to -spice command line and its parameter parsing 'x509-dh-file' in function qemu_spice_init.

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

---
 ui/spice-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ui/spice-core.c +1 -1
index 5147365..261c6f2 100644
@@ -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");
     }
 
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 5 lines · Lei Li

Commit c448e8552b0f6135dabddf944a7110f929c08320 (spice: tls support) added options to the -spice command line. But there is an inconsistency between the declaration of the option 'x509-dh-key-file' to -spice command line and its parameter parsing 'x509-dh-file' in function qemu_spice_init.

Patch added to spice patch queue.

thanks,
Gerd