5971 Commits

Author SHA1 Message Date
timeless%mozdev.org
c532288950 Bug 332324 crash [@ IsChildOfDomWindow]
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@194482 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 20:33:28 +00:00
nelson%bolyard.com
4b89440f12 Don't add 3 to the user-supplied number of validity months. Bug 333679.
r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@194443 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 01:00:11 +00:00
julien.pierre.bugs%sun.com
12369d9718 Fix for bug 262375 . Add clobber_dbm and clobber_nspr targets, as well as nss_clean_all . r=nelson
git-svn-id: svn://10.0.0.236/trunk@194438 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 22:48:31 +00:00
gavin%gavinsharp.com
e4f3a8142a Bug 331749: chrome://pippki/content/newserver.js is not UTF-8, patch by Philip Withnall <bugzilla@tecnocode.co.uk>, r=kaie
git-svn-id: svn://10.0.0.236/trunk@194422 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 19:12:31 +00:00
nelson%bolyard.com
9ecb87a26a big cleanup of error codes returned by pkcs12 library.
No longer returns SEC_ERROR_NO_MEMORY for every possible error code.
Bug 321584. r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@194421 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 18:34:44 +00:00
nelson%bolyard.com
782997f209 Fix broken optimized builds, caused by last checkin. Bug 236245.
git-svn-id: svn://10.0.0.236/trunk@194370 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 00:43:19 +00:00
nelson%bolyard.com
bafb7f6292 Implement TLS Hello extensions for ECC. Bug 236245. r=rrelyea.
This patch has a known problem, choosing ephemeral ECDH curves
according to the wrong (suboptimal, non-FIPS) criteria.
Modified Files: ssl3con.c ssl3ecc.c sslimpl.h


git-svn-id: svn://10.0.0.236/trunk@194359 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 23:08:18 +00:00
nelson%bolyard.com
fc11ad1fed Add and use new -2 option for strsclnt to disable SSL2 compatible client
hellos, so we can stress test TLS hello extensions.  Bug 333559.
r=julien.pierre,rrelyea


git-svn-id: svn://10.0.0.236/trunk@194355 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:43:31 +00:00
wtchang%redhat.com
9579b868b3 Bugzilla Bug 330114: corrected the checks for the PKCS #1 v1.5 padding
string and the length of the data (hash). r=nelsonb,relyea.


git-svn-id: svn://10.0.0.236/trunk@194349 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:12:17 +00:00
gijskruitbosch%gmail.com
d834bd05b7 Bug 333692 - Possible crash (Coverity) [@ PK11_DestroyContext - md5sum]
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@194268 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 22:33:52 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
julien.pierre.bugs%sun.com
dec84162f8 Fix for 333657 . Increase maximum RSA key size to 8192 bits in freebl. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194210 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 05:39:01 +00:00
alexei.volkov.bugs%sun.com
d9ffa58799 [Bug 332272] add core detection functionality to all.sh; r=nelson
git-svn-id: svn://10.0.0.236/trunk@194201 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:14:27 +00:00
wtchang%redhat.com
9712c7f7a4 Bugzilla Bug 331413: assert that the worker threads empty the jobQ before
they terminate.  Fix a socket leak when the SSL_ImportFD call in
handle_connection fails. r=nelson.bolyard.


git-svn-id: svn://10.0.0.236/trunk@194175 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 21:12:28 +00:00
nelson%bolyard.com
8963b8a82f Implement new API for registering and deregistering shutdown callback functions.
Patch by Bob Relyea and Nelson Bolyard. r=rrelyea,nelson  Bug 326482.


git-svn-id: svn://10.0.0.236/trunk@193920 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 05:11:55 +00:00
nelson%bolyard.com
a2bf5d7952 Bug 333090: CKM_DH_PKCS_KEY_PAIR_GEN always fails. r=nelson, sr=rrelyea
Patch contributed by Andreas.Sterbenz@sun.com


git-svn-id: svn://10.0.0.236/trunk@193919 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 05:05:01 +00:00
nelson%bolyard.com
f33ea28075 WORKAROUND: disable all the ECDH_RSA cipher suites tests, since all those
tests require a cert with an EC public key and an RSA signature, and the
test scripts do not presently generate such a cert.
This workaround can be backed out when the real fix is available.
Bug 332222. r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@193917 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 04:28:32 +00:00
sandeep.konchady%sun.com
f152671ebe Bugzilla bug : 316448. Deprecated references to fortezza in code and test.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@193814 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 15:56:50 +00:00
kaie%kuix.de
f04215cac3 bug 331648, signed/unsigned bug submitting CRMF cert requests
r=rrelyea, sr=nelson


git-svn-id: svn://10.0.0.236/trunk@193808 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 11:41:18 +00:00
nelson%bolyard.com
d362c8829d Implement generic support for TLS Hello Extensions. Bug 226271. r=vipul
git-svn-id: svn://10.0.0.236/trunk@193802 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 06:24:07 +00:00
julien.pierre.bugs%sun.com
145d6ac5e1 Fix for bug 311164 . Initialize stan cert store object early to fix a race condition. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193801 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 05:49:04 +00:00
julien.pierre.bugs%sun.com
62e48e70c6 Fix for bug 315793 . Wan-Teh's feedback for PWD
git-svn-id: svn://10.0.0.236/trunk@193791 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 04:10:28 +00:00
cbiesinger%web.de
0ff03c4911 move an unfrozen interface out of SDK_XPIDLSRC (was added there in bug 111384)
git-svn-id: svn://10.0.0.236/trunk@193692 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 14:02:29 +00:00
julien.pierre.bugs%sun.com
28b2ef9bc1 Fix for bug 315793 . Make shlibsign run in the OBJDIR rather than the source directory . r=nelson
git-svn-id: svn://10.0.0.236/trunk@193671 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 06:22:02 +00:00
julien.pierre.bugs%sun.com
645eb0fd8c Fix for bug 315798 . run bltest and rsaperf from source directories in the QA . r=nelson
git-svn-id: svn://10.0.0.236/trunk@193670 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 06:19:41 +00:00
nelson%bolyard.com
a27efac04e Don't negotiate an ECDH_RSA cipher suite when the server's only ECDH cert
has an ECDSA signature.  bug 332350. r=vipul.gupta.


git-svn-id: svn://10.0.0.236/trunk@193659 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 04:40:49 +00:00
julien.pierre.bugs%sun.com
36605e59fd Partial fix for bug 332348 . Add PR_POLL_EXCEPT to a PR_Poll . Allows tstclnt to wake up if server goes away. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@193648 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 01:49:03 +00:00
nelson%bolyard.com
45d3931f83 Fix shell script error that caused undetected QA failures. Bug 311931.
r=nelson.bolyard,alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@193613 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 19:35:47 +00:00
nkwan%redhat.com
849895127c Updated tip to use NSS_3_11_RTM
git-svn-id: svn://10.0.0.236/trunk@193579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 02:06:31 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
kaie%kuix.de
dfeab526b2 Follow-up checkin to bug 111384, fixes the tinderbox tests failure.
If the thread runner C function calls the pure virtual Run too early,
before the constructor finished, it will crash.
This patch delays thread creation and virtual function call to a
separate startThread call.
Thanks a lot to Jag for his help in finding the problem!
r=jag


git-svn-id: svn://10.0.0.236/trunk@193503 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 13:18:48 +00:00
kaie%kuix.de
e4ab14cd87 bug 111384, Support OCSP requests through a proxy
combined r= by darin / rrelyea
second checkin attempt


git-svn-id: svn://10.0.0.236/trunk@193501 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 13:14:40 +00:00
kaie%kuix.de
3881f77126 backing out my checkin, because we can't reproduce the tinderbox test
failure


git-svn-id: svn://10.0.0.236/trunk@193495 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 09:48:08 +00:00
nelson%bolyard.com
f17f17ddf5 Add new -i (ignore errors) command line option to strsclnt. Strsclnt now
stops soon after the first error unless the -i option is given.
Strsclnt and tstclnt now look for an environment variable named
NSS_DEBUG_TIMEOUT, and if present, its value is used as a timeout time
for all socket IO operations.  Bug 332348. r=julien.pierre.


git-svn-id: svn://10.0.0.236/trunk@193485 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 07:31:46 +00:00
kaie%kuix.de
c88b58645c bug 111384, Support OCSP requests through a proxy
combined r= by darin / rrelyea


git-svn-id: svn://10.0.0.236/trunk@193483 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 06:41:37 +00:00
nelson%bolyard.com
75c86f6174 Eliminate duplicated header files in cmd/SSLsample. Bug 332633.
r=julien.pierre
Modified Files: SSLsample/client.mn SSLsample/server.mn lib/manifest.mn
Removed Files:  SSLsample/NSPRerrs.h SSLsample/SECerrs.h SSLsample/SSLerrs.h


git-svn-id: svn://10.0.0.236/trunk@193477 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 01:56:27 +00:00
glen.beasley%sun.com
d7ec54429b David Baron fix for valgrind report of UMR r=wtchang sr=Nelson
git-svn-id: svn://10.0.0.236/trunk@193475 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 01:05:53 +00:00
nelson%bolyard.com
cfbcd913d7 Define alerts and error codes for TLS Hello extensions. Bug 226271.
r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@193468 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 00:32:27 +00:00
nkwan%redhat.com
75a4bcdd89 bugzilla #332608 - added new function to just delete certificate
git-svn-id: svn://10.0.0.236/trunk@193457 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:09:49 +00:00
rrelyea%redhat.com
6ccc713cc4 Bug 332381 pk12util fails to import key/cert onto LunaSA HSM
r=nelson


git-svn-id: svn://10.0.0.236/trunk@193350 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 21:35:37 +00:00
gerv%gerv.net
6563c50ab1 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193297 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 04:41:00 +00:00
rrelyea%redhat.com
1333f0748a bug 309701 Softtoken C_CreateObject() should not require
CKA_NETSCAPE_DB attribute to be present

r=alexei


git-svn-id: svn://10.0.0.236/trunk@193290 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 00:38:48 +00:00
rrelyea%redhat.com
3df0eb0674 From Bug 331279.
Free ECDHE Ephemeral key. Fixes server-side leak.
r=julien r=alexei


git-svn-id: svn://10.0.0.236/trunk@193280 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 21:07:22 +00:00
julien.pierre.bugs%sun.com
8cc0246541 Fix for 330068 . Be more verbose in strsclnt error cases
git-svn-id: svn://10.0.0.236/trunk@193225 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 22:36:42 +00:00
alexei.volkov.bugs%sun.com
8111ff49c8 331515: selfserv Bus error on 3DES ciphersuites; r=julien, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@193179 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 07:23:40 +00:00
julien.pierre.bugs%sun.com
09b1507bbb Remove comment in ssl.sh that messes execution. Part of fix for bug 331413.
git-svn-id: svn://10.0.0.236/trunk@193178 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 06:54:56 +00:00
julien.pierre.bugs%sun.com
1ce5b33bc5 Fix for bug 330068 . Increment counter variable atomically. Be more verbose. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193177 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 05:05:09 +00:00
julien.pierre.bugs%sun.com
5fb22dc7fe Partial fix for bug 331413 . Allow selfserv to be tested for reference leaks. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193176 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 05:03:10 +00:00
benjamin%smedbergs.us
ced811d848 Bug 301249 - Checkout and build mozilla/dbm as part of NSS instead of the mozilla client, and pull NSS by the release tag instead of by the NSS_CLIENT_TAG which is now deprecated! r=dougt (+nelsonb)
git-svn-id: svn://10.0.0.236/trunk@193038 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 16:21:55 +00:00
glen.beasley%sun.com
fe61b990c6 318970 wtc fix for RSA fipstest using RSA_HashSign r=neilW sr= brelyea
git-svn-id: svn://10.0.0.236/trunk@193000 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 23:48:07 +00:00