Re: [PATCH 1/2] http.c: prompt for SSL client certificate password
- From
Daniel Stenberg <daniel@haxx.se>
- Date
- Jun 12, 2009, 07:59 UTC
- Message-ID
- <alpine.DEB.2.00.0906120957400.5566@yvahk2.pbagnpgbe.fr>
- In-Reply-To
- <7vprdaarka.fsf@alter.siamese.dyndns.org>
On Thu, 11 Jun 2009, Junio C Hamano wrote:
Show 7 quoted lines
> #if !defined(CURLOPT_KEYPASSWD) > # if defined(CURLOPT_SSLKEYPASSWD) > # define CURLOPT_KEYTPASSWD CURLOPT_SSLKEYPASSWD > # elif defined(CURLOPT_SSLCERTPASSWD > # define CURLOPT_KEYTPASSWD CURLOPT_SSLCERTPASSWD > # endif > #endif
Just note that these CURLOPT_* symbols provided by libcurl are enums, not defines, so unfortunately you can't do it this exact #ifdef way.
-- / daniel.haxx.se