cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Patch to add NSS support to curl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 23 Jan 2007 11:36:07 -0800

On Tue, Jan 23, 2007 at 10:53:29AM -0500, Rob Crittenden wrote:
> Attached is a patch against CVS I add Network Security Services (NSS)
> support to curl (http://www.mozilla.org/projects/security/pki/nss/). NSS
> is the SSL engine used in Firefox and Thunderbird (among others). This
> was developed on Fedora Core 6 against NSS 3.11.4 and NSPR 4.6.4 but it
> should work on other OS's as well. I'm not 100% sure I got the magic
> right for detection of NSPR and NSS locations so feedback is welcome.

Neat! That makes four different SSL implementations supported by curl.
That's a lot of choice.

> +static char *nss_get_password(FILE *input, FILE *output,

The libcurl philosophy is to leave all interaction with the user to the
front-end; passwords should be requested by the curl tool and passed in
via curl_easy_setopt. curl already has a function getpass_r for this that
does the right thing on multiple platforms.

This patch would get more feedback if sent to the curl-library mailing list.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-01-23