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
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
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
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
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
r=javi, sr=blizzard, a=asa
Thou shalt not return un-initialized variables. (Returns a
constant nsresult in the 2 places where it was returning rv
before.)
git-svn-id: svn://10.0.0.236/trunk@96818 18797224-902f-48f8-a5cc-f745e15eee43
Retry an SSL connection if we fail during first write after a successful connect since it's most likely due to a TLS intolerant server
git-svn-id: svn://10.0.0.236/trunk@96661 18797224-902f-48f8-a5cc-f745e15eee43
Switch reference from "weak" crypto to "low-grade" crypto so
that the warning that comes up is consistent with the prefernces
panel.
git-svn-id: svn://10.0.0.236/trunk@95933 18797224-902f-48f8-a5cc-f745e15eee43
Fixes a slew of cert viewer problems.
Fix the sizing issues with the cert viewer.
Make the General tab of the cert viewer more simple
Have the Details tab of the cert viewer re-populate the ASN1 dump
if a new cert in the chain is selected.
Correct some mis-spelled words.
git-svn-id: svn://10.0.0.236/trunk@95915 18797224-902f-48f8-a5cc-f745e15eee43
go wrong like strings not showing up on Mac builds
and nsKeygenFormProcessor to crash.
git-svn-id: svn://10.0.0.236/trunk@95829 18797224-902f-48f8-a5cc-f745e15eee43
Place the PSM 2 localizable strings in the default en-US.jar file so
they will get localized along with all the other strings.
git-svn-id: svn://10.0.0.236/trunk@95688 18797224-902f-48f8-a5cc-f745e15eee43
Fix for crash on Win32 when enrolling for certificates via the
crypto.generateCRMFRequest method.
git-svn-id: svn://10.0.0.236/trunk@95154 18797224-902f-48f8-a5cc-f745e15eee43