Re: [PATCH 1/2] http.c: prompt for SSL client certificate password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 11 Jun 2009, Junio C Hamano wrote:

   #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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]