If a user has a PKCS11 smart card installed, then give the user
the option of restoring a p12 file onto the smart card.
git-svn-id: svn://10.0.0.236/trunk@97407 18797224-902f-48f8-a5cc-f745e15eee43
#if preprocessor directive broke some C preprocessors that don't recognize
LL constants even though the C compilers support long long. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@97332 18797224-902f-48f8-a5cc-f745e15eee43
bug #85271: avoid regressions by re-creating the old behavior near |nsCRT::strdup|, see bug #86316
git-svn-id: svn://10.0.0.236/trunk@97311 18797224-902f-48f8-a5cc-f745e15eee43
bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate
features of |nsXPIDLC?String| that keep it out of the string hierarchy
(i.e., using assigment to rebind ownership, static |Copy| members, and
|getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97292 18797224-902f-48f8-a5cc-f745e15eee43
bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate
features of |nsXPIDLC?String| that keep it out of the string hierarchy
(i.e., using assigment to rebind ownership, static |Copy| members, and
|getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97290 18797224-902f-48f8-a5cc-f745e15eee43
We need to pass a nsIInterfaceRequestor to PK11_ListCerts
so that the user will get prompted for a password and see
his/her certs on any installed smart cards.
git-svn-id: svn://10.0.0.236/trunk@97175 18797224-902f-48f8-a5cc-f745e15eee43
outside the source tree. Thanks to Chris Seawood <cls@seawood.org> for
the patch. r=wtc@netscape.com. a=blizzard@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@97102 18797224-902f-48f8-a5cc-f745e15eee43
Throw up an alert when a connection is not possible because of
an SSL error.
git-svn-id: svn://10.0.0.236/trunk@97087 18797224-902f-48f8-a5cc-f745e15eee43
Put up an alert notifying the user an SSL error has occurred instead
of silently failing and loading a blank page.
git-svn-id: svn://10.0.0.236/trunk@97085 18797224-902f-48f8-a5cc-f745e15eee43
requires client auth. Work around bug in NT TCP stack by only shutting
down the socket for SEND (not for BOTH) after sending a bad_certificate
alert. This avoids bogus CONNECTION_RESET_BY_PEER errors at the client.
git-svn-id: svn://10.0.0.236/trunk@97079 18797224-902f-48f8-a5cc-f745e15eee43
Leaving a socket in blocking mode after a connect caused SSL/SMTP
to block a thread causing send message to fail when SSL was enabled.
Now we re-set the socket to the non-blocking state it came in with
to connect and set it to block for our write method only.
git-svn-id: svn://10.0.0.236/trunk@97068 18797224-902f-48f8-a5cc-f745e15eee43
server session cache locks. We may yet decide to back this out for the
NSS 3.3 release. Modified Files: ssl.def ssl.h sslsnce.c
git-svn-id: svn://10.0.0.236/trunk@96958 18797224-902f-48f8-a5cc-f745e15eee43
Posix semaphore code to make the non-contention case really fast.
Modified Files: sslmutex.c sslmutex.h
git-svn-id: svn://10.0.0.236/trunk@96909 18797224-902f-48f8-a5cc-f745e15eee43
Fix for crasher if doing SSL with a site whose certificate
was issued by a cert with a non-ASCII character in its
subject name. We now get the peer's certificate from the
SSL libraries instead of trying to re-parse the UTF8 string
(which NSS doesn't like) into the CERTName structure that's
already in the certificate.
git-svn-id: svn://10.0.0.236/trunk@96862 18797224-902f-48f8-a5cc-f745e15eee43