|
From: | Denis Dowling |
Subject: | [libmicrohttpd] Problem using MHD_OPTION_HTTPS_MEM_DHPARAMS in MHD_OPTION_ARRAY |
Date: | Thu, 26 Feb 2015 00:52:06 +0000 |
Hi,
I was trying to add a Diffie Hellman key to the libmicrohttpd server using the MHD_OPTION_HTTPS_MEM_DHPARAMS option. I was putting this option into a vector and then passing this to MHD_start_daemon using the MHD_OPTION_ARRAY argument. This was failing and I tracked the problem down to a missing option in the switch statement in parse_options_va().
diff --git a/external/libmicrohttpd-0.9.39/src/microhttpd/daemon.c b/external/li index 0816a4a..ce76a3b 100644 --- a/external/libmicrohttpd-0.9.39/src/microhttpd/daemon.c +++ b/external/libmicrohttpd-0.9.39/src/microhttpd/daemon.c @@ -3178,6 +3178,7 @@ parse_options_va (struct MHD_Daemon *daemon, case MHD_OPTION_HTTPS_MEM_KEY: case MHD_OPTION_HTTPS_MEM_CERT: case MHD_OPTION_HTTPS_MEM_TRUST: + case MHD_OPTION_HTTPS_MEM_DHPARAMS: case MHD_OPTION_HTTPS_PRIORITIES: case MHD_OPTION_ARRAY: case MHD_OPTION_HTTPS_CERT_CALLBACK:
Regards, Denis The information contained in this message and any attachments is strictly confidential and intended solely for the use of the intended recipient(s). The copyright in this communication belongs to
(HSD). This message and any attachments are confidential and may be subject to legal or other professional privilege. Any confidentiality or privilege is not waived or lost because this e-mail has been sent to you by mistake. If you have received
this transmission in error, please notify HSD on +61 3 9875 5900 immediately and destroy all copies of this e-mail. The contents of this email message may not be quoted, copied, reproduced or published in part or in whole, without the written
authorisation of HSD. |
[Prev in Thread] | Current Thread | [Next in Thread] |