From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYtaa-0004g7-6z for qemu-devel@nongnu.org; Thu, 15 Nov 2012 02:10:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYtaX-0002G0-4k for qemu-devel@nongnu.org; Thu, 15 Nov 2012 02:10:16 -0500 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:53702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYtaW-00020c-FB for qemu-devel@nongnu.org; Thu, 15 Nov 2012 02:10:13 -0500 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 Nov 2012 12:39:55 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qAF79rZe23527486 for ; Thu, 15 Nov 2012 12:39:53 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qAFCdhGZ017487 for ; Thu, 15 Nov 2012 23:39:44 +1100 From: Lei Li Date: Thu, 15 Nov 2012 15:09:49 +0800 Message-Id: <1352963389-29706-1-git-send-email-lilei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] Fix the inconsistency in x509-dh-key-file parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Lei Li 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 Signed-off-by: Lei Li --- ui/spice-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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"); } -- 1.7.7.6