- Mar 18, 2009
-
-
Daniel Stenberg authored
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled explicitly.
-
- Feb 27, 2009
-
-
Daniel Stenberg authored
-
- Feb 17, 2009
-
-
Daniel Stenberg authored
-
- Jan 07, 2009
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
I have to jump through a few hoops now with the NSS library initialization since another part of an application may have already initialized NSS by the time Curl gets invoked. This patch is more careful to only shutdown the NSS library if Curl did the initialization. It also adds in a bit of code to set the default ciphers if the app that call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific ciphers. One might argue that this lets other application developers get lazy and/or they aren't using the NSS API correctly, and you'd be right. But still, this will avoid terribly difficult-to-trace crashes and is generally helpful.
-
- Nov 15, 2008
-
-
Daniel Stenberg authored
codes for all calls to malloc and strdup that were missing. I also changed a few malloc(13) to use arrays on the stack and a few malloc(PATH_MAX) to instead use aprintf() to lower memory use. I also fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is in use.
-
- Oct 16, 2008
-
-
Daniel Stenberg authored
used in strequal.c so now all test cases run fine for me again.
-
- Oct 15, 2008
-
-
Daniel Stenberg authored
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected.
-
- Sep 23, 2008
-
-
Daniel Stenberg authored
implementation".
-
- Sep 06, 2008
-
-
Yang Tse authored
-
- Sep 04, 2008
-
-
Dan Fandrich authored
-
Yang Tse authored
-
- Jun 21, 2008
-
-
Daniel Stenberg authored
-
- Jun 20, 2008
-
-
Daniel Stenberg authored
handshake with a SSLv2 server, and it turned out to be because it didn't recognize the cipher named "rc4-md5". In our list that cipher was named plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported that it made things work for him again.
-
- Jun 19, 2008
-
-
Daniel Stenberg authored
number of entries in a provided table is doomed to fail in the long run. Now we use the NUM_OF_CIPHERS define instead to figure out the amount.
-
Daniel Stenberg authored
-
- Jun 18, 2008
-
-
Daniel Stenberg authored
always fire up a new connection rather than using the existing one when the multi interface is used. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=450140
-
Daniel Stenberg authored
the check_issuer_cert() proto
-
Daniel Stenberg authored
warning in the code though but we need NSS' base64.h header for that and we don't currently have a suitable way to include it as our own base64.h header kind of "blocks" it.
-
- Jun 12, 2008
-
-
Daniel Stenberg authored
-
- Jun 11, 2008
-
-
Daniel Stenberg authored
libraries are supported. Starting now, each underlying SSL library support code does a set of defines for the 16 functions the generic layer (sslgen.c) uses (all these new function defines use the prefix "curlssl_"). This greatly simplified the generic layer in readability by involving much less #ifdefs and other preprocessor stuff and should make it easier for people to make libcurl work with new SSL libraries. Hopefully I can later on document these 16 functions somewhat as well. I also made most of the internal SSL-dependent functions (using Curl_ssl_ prefix) #defined to nothing when no SSL support is requested - previously they would unnecessarily call mostly empty functions.
-
- Jun 06, 2008
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
OpenSSL, NSS and GnuTLS-built libcurls.
-
Daniel Stenberg authored
OpenSSL, NSS and GnuTLS-built libcurls.
-
- May 26, 2008
-
-
Yang Tse authored
-
- Feb 20, 2008
-
-
Daniel Stenberg authored
better control at the exact state of the connection's SSL status so that we know exactly when it has completed the SSL negotiation or not so that there won't be accidental re-uses of connections that are wrongly believed to be in SSL-completed-negotiate state.
-
- Feb 19, 2008
-
-
Guenter Knauf authored
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976 Submitted by Kaspar Brand.
-
- Jan 15, 2008
-
-
Daniel Stenberg authored
function itself adds that. Fixed on 50 or something strings!
-
- Nov 05, 2007
-
-
Daniel Stenberg authored
consistency
-
- Oct 25, 2007
-
-
Daniel Stenberg authored
Previously it would fail if the ca bundle wasn't present, even if the code ignored the verification results.
-
Daniel Stenberg authored
-
- Sep 18, 2007
-
-
Daniel Stenberg authored
o It looks for the NSS database first in the environment variable SSL_DIR, then in /etc/pki/nssdb, then it initializes with no database if neither of those exist. o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be loaded, including the ca-bundle. If it is not available then only certificates already in the NSS database are used. o Tries to detect whether a file or nickname is being passed in so the right thing is done o Added a bit of code to make the output more like the OpenSSL module, including displaying the certificate information when connecting in verbose mode o Improved handling of certificate errors (expired, untrusted, etc) The libnsspem.so PKCS#11 module is currently only available in Fedora 8/rawhide. Work will be done soon to upstream it. The NSS module will work with or without it, all that changes is the source of the certificates and keys.
-
- Aug 30, 2007
-
-
Dan Fandrich authored
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
-
- Aug 24, 2007
-
-
Patrick Monnerat authored
-
- Aug 01, 2007
-
-
Daniel Stenberg authored
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies.
-
- Jul 29, 2007
-
-
http://curl.haxx.se/bug/view.cgi?id=1759542Daniel Stenberg authored
of a socket after it has been closed, when the FTP-SSL data connection is taken down.
-
- Jul 20, 2007
-
-
Dan Fandrich authored
-
- May 25, 2007
-
-
Daniel Stenberg authored
(http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel Black identifying several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.
-
- Feb 26, 2007
-
-
Gisle Vanem authored
since they're already included through "setup.h".
-
- Feb 16, 2007
-
-
Yang Tse authored
-