7207 Commits

Author SHA1 Message Date
alexei.volkov.bugs%sun.com
2d765c32b5 Bug 430135 – Need improvement to pkix object leak testing. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252415 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-17 22:29:09 +00:00
julien.pierre.boogz%sun.com
bef7939eeb Fix for bug 423839 . Add multiple PKCS#11 token password command line option to NSS tools . r=nelson
git-svn-id: svn://10.0.0.236/trunk@252384 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-16 20:23:00 +00:00
wtc%google.com
0f72ff60ae Bug 436430: Start to build the cmd/tests directory. Added the test program
nonspr10.c for verifying that NSS public headers can be compiled with
-DNO_NSPR_10_SUPPORT.  Do not release the test programs in cmd/tests in our
binary distribution.  r=nelson.
Modified Files:
	manifest.mn tests/manifest.mn
Added Files:
	tests/nonspr10.c


git-svn-id: svn://10.0.0.236/trunk@252356 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 19:37:03 +00:00
wtc%google.com
c141d5b222 Bug 436430: NSS public headers should not use NSPR 1.0 compatibility types
and macros.  Replaced PRArenaPool by PLArenaPool and int64 by PRTime.  The
patch is generated by Nelson Bolyard <nelson@bolyard.com>.  r=wtc
Modified Files:
	certdb/cert.h certdb/certdb.h certdb/certt.h certhigh/ocsp.h
	cryptohi/cryptohi.h cryptohi/keyhi.h cryptohi/keythi.h
	freebl/blapit.h pk11wrap/pk11priv.h pk11wrap/pk11pub.h
	pk11wrap/secmodt.h pkcs12/p12.h pkcs12/p12t.h pkcs12/pkcs12t.h
	pkcs7/pkcs7t.h pkcs7/secpkcs7.h smime/cms.h util/nssb64.h
	util/secasn1.h util/secder.h util/secdig.h util/secitem.h
	util/secoid.h


git-svn-id: svn://10.0.0.236/trunk@252350 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 14:20:38 +00:00
nelson%bolyard.com
d53d803599 Bug 434398: libPKIX cannot find issuer cert immediately after checking it with OCSP
Ensure that parsed certificates go into trust domain's cert cache.
Plug two leaks of certificate objects.   r=julien,Alexei
Eliminate dependence on old NSPR 1.0 symbol PRArenaPool, which is now PLArenaPool.


git-svn-id: svn://10.0.0.236/trunk@252345 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 05:05:23 +00:00
nelson%bolyard.com
99f5c75141 Bug 434099: NSS relies on unchecked PKCS#11 object attribute values, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@252344 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 04:38:32 +00:00
alexei.volkov.bugs%sun.com
903c46bb1b Bug 438685 – libpkix doesn't try all the issuers in a bridge with multiple certs. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252323 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-13 19:12:21 +00:00
nelson%bolyard.com
ae6c9f82e5 Back out last checkin, which introduced crashes in pk12util. Sheriff Nelson
git-svn-id: svn://10.0.0.236/trunk@252306 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-13 05:28:55 +00:00
julien.pierre.boogz%sun.com
489d8ded57 Fix for bug 423839 . Add multiple PKCS#11 token password command line option to NSS tools. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252298 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-12 21:16:58 +00:00
alexei.volkov.bugs%sun.com
cfca27da22 Bug 432303 – Replace PKIX_PL_Memcpy with memcpy. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252277 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-12 17:22:45 +00:00
nelson%bolyard.com
292204b3ac fix assertion failures and other crashes for bug 401928. r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@252257 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-11 18:56:13 +00:00
alexei.volkov.bugs%sun.com
636d6333c1 430369 - vfychain -o succeeds even if -pp is not specified. Bug 430368 – vfychain -t option is undocumented. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252256 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-11 18:02:17 +00:00
kaie%kuix.de
c3f8f03783 bug 423511, Test failure because make prints CWD
r=wtc


git-svn-id: svn://10.0.0.236/trunk@252251 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-11 15:56:12 +00:00
nelson%bolyard.com
b738a91657 Bug 436577: uninitialized variable in sec_pkcs5CreateAlgorithmID
Patch by Bob Relyea <rrelyea@redhat.com>, r=wtc


git-svn-id: svn://10.0.0.236/trunk@252209 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-10 02:53:27 +00:00
wtc%google.com
4b9b8481f8 Bug 434187: merged nssCertificateStore_Check into
nssCertificateStore_Unlock because these two functions were always called
together.  r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@252144 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-06 01:19:31 +00:00
wtc%google.com
06fe065f74 Bug 434187: fixed compiler warnings reported by GCC on Mac OS X.
r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@252143 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-06 01:16:31 +00:00
wtc%google.com
0b3c96af13 Bug 434187: assign PR_TRUE to a PRBool variable. r=nelson
git-svn-id: svn://10.0.0.236/trunk@252098 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-04 01:28:48 +00:00
wtc%google.com
1c27f0e02e Bug 434187: fixed a MSVC compiler warning about signed/unsigned comparison.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@252097 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-04 01:27:36 +00:00
glen.beasley%sun.com
69d00dc4e6 263544 support HmacSHA256, HmacSHA384, and HmacSHA512 r=Wan-Teh
git-svn-id: svn://10.0.0.236/trunk@252059 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-02 20:07:11 +00:00
wtc%google.com
9fe8c0a1a8 Bug 302416: remove the unused file nsprstub.c from CVS. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@252009 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-31 04:38:16 +00:00
nelson%bolyard.com
6822739ae6 Bug 436428: remove unneeded assert from sec_PKCS7EncryptLength
Patch by Justin Dolske <dolske@mozilla.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@251956 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-30 03:39:46 +00:00
rrelyea%redhat.com
459ab5590b Bug 427706 resolve regression from bug 427706.
This also includes reapplying the patch from 427706
r=kaie


git-svn-id: svn://10.0.0.236/trunk@251944 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 21:45:07 +00:00
kaie%kuix.de
4e2b64148d Bug 426886, Use "const" char* in PK11_ImportCertForKey
r=wtc, r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@251939 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 17:24:23 +00:00
kaie%kuix.de
e7efdb5d1c Bug 415167, Memory leak in certutil
Follow up patch to fix a deadlock regression, bug 434808
Patch contributed by Julien Pierre
r=kaie, r=nelson


git-svn-id: svn://10.0.0.236/trunk@251938 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 17:17:59 +00:00
kaie%kuix.de
6db654161f Bug 433386, when system clock is off by more than two days, OSCP check fails, can result in crash if user tries to view
certificate
landing (cleaner) Patch v2
r=nelson


git-svn-id: svn://10.0.0.236/trunk@251937 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 17:11:00 +00:00
christophe.ravel.bugs%sun.com
dfdb165046 Move version to 4.3 Beta on the trunk.
JSS 4.3 requires NSS 3.12 or above.


git-svn-id: svn://10.0.0.236/trunk@251786 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-23 17:51:42 +00:00
glen.beasley%sun.com
93b8150f16 435091 add support for JSS to init NSS with more options r=wtc
git-svn-id: svn://10.0.0.236/trunk@251760 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-22 04:28:10 +00:00
nelson%bolyard.com
550222aad6 Bug 67890: create self-signed cert with existing key that signed CSR
Patch by Alexei.volkov, r=julien.pierre,rrelyea


git-svn-id: svn://10.0.0.236/trunk@251757 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-21 21:58:07 +00:00
nelson%bolyard.com
c58a926cd3 Bug 433594: Crash destroying OCSP Cert ID, r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@251734 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-21 00:08:33 +00:00
julien.pierre.boogz%sun.com
40e2b4b6a2 Fix for bug 434860 . Dead code in ocsp_CreateCertID . r=nelson
git-svn-id: svn://10.0.0.236/trunk@251731 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-20 23:34:03 +00:00
wtc%google.com
3ca99be11f Bug 431929: Fixed a memory leak on an error path in
get_token_objects_for_cache .  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@251686 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-18 01:51:45 +00:00
wtc%google.com
5760da39fa Bug 431805: initialize error_stack_index to an invalid TPD index instead of
0, which is a valid TPD index.  Improved comments.  r=nelson.
Modified Files:
	base/error.c nss/nssinit.c


git-svn-id: svn://10.0.0.236/trunk@251681 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-17 03:44:41 +00:00
wtc%google.com
4ab3de3dc0 Bug 431929: Refactored duplicate code into common subroutines. 1. Replaced
nssToken_Find{Certificates,TrustObjects,CRLs} by nssToken_FindObjects.
2. Replaced get_token_{certs,trust,crls}_for_cache by
get_token_objects_for_cache.  r=nelson.
Modified Files:
	dev/dev.h dev/devtoken.c dev/devutil.c pk11wrap/pk11cert.c


git-svn-id: svn://10.0.0.236/trunk@251680 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-17 00:13:39 +00:00
nelson%bolyard.com
d736d0bf36 Bug 390296: NSS ignores subject CN even when SAN contains no dNSName
r=wtc


git-svn-id: svn://10.0.0.236/trunk@251663 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-16 03:38:39 +00:00
nelson%bolyard.com
73099ff9b1 Bug 429716: debug builds of libPKIX unconditionally dump socket traffic to stdout
r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@251660 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-15 23:48:13 +00:00
julien.pierre.boogz%sun.com
d2db27e1bc Fix for bug 317848 . Prevent forking in Solaris shell. 1) switch to bash 2) use exec to redirect stdin before entering a while loop
git-svn-id: svn://10.0.0.236/trunk@251632 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-14 22:57:52 +00:00
nelson%bolyard.com
d7d058363e [Bug 433437] vfychain ignores the -a option, r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@251571 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-13 02:19:27 +00:00
wtc%google.com
11e72090e5 Bug 431929: Release the lock before returning. Acquire the lock after
null checks.  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@251570 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-13 01:22:35 +00:00
wtc%google.com
06883877fc Bug 433177: fixed GCC compiler warnings. r=julien.pierre
Modified Files:
	freebl/ec.c freebl/genload.c freebl/ldvector.c util/dertime.c
	util/oidstring.c


git-svn-id: svn://10.0.0.236/trunk@251569 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-13 01:20:05 +00:00
reed%reedloden.com
81eeeb8208 Bug 433025 - "Still using windows icon in Security Exception dialog" [p=reed r=kaie a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@251499 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-10 03:43:48 +00:00
wtc%google.com
3f91dfa33f Bug 431805: fixed the leak of the primordial thread's error stack. The
patch is contributed by Boying Lu <brian.lu@sun.com>.  r=wtc.
Modified files: base/base.h base/error.c nss/nssinit.c


git-svn-id: svn://10.0.0.236/trunk@251493 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-10 01:03:18 +00:00
wtc%google.com
902c767d5a Bug 367664: added RISC OS support. The patch is contributed by
Peter Naulls <peter@chocky.org>.  r=wtc.
Modified Files:
	coreconf/config.mk coreconf/rules.mk
	coreconf/nsinstall/nsinstall.c nss/lib/freebl/unix_rand.c
Added Files:
	coreconf/RISCOS.mk


git-svn-id: svn://10.0.0.236/trunk@251487 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-09 23:56:02 +00:00
wtc%google.com
014a34c5d2 Bug 430875: Documented the policy for the order of cipher suites in
SSL_ImplementedCiphers.  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@251352 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 20:45:53 +00:00
wtc%google.com
5a9d307168 Bug 430743: Added the GET_32 macro for reading uint32. Use {...} (with
three dots) for consistency.  Parse the NewSessionTicket handshake message.
r=nelson.


git-svn-id: svn://10.0.0.236/trunk@251336 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 15:42:59 +00:00
kaie%kuix.de
d6cf883683 Bug 431384, Enable Network Solutions Certificate Authority for EV
r=rrelyea, a1.9=beltzner


git-svn-id: svn://10.0.0.236/trunk@251149 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-04 01:36:46 +00:00
kaie%kuix.de
20dc614fc0 Bug 431772, add network solutions and diginotar root certs to NSS
r=nelson, r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@251124 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-03 03:13:22 +00:00
nelson%bolyard.com
fa1a3c9887 Backing out changes that turned Tinderbox orange. /Sheriff Nelson
git-svn-id: svn://10.0.0.236/trunk@251110 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 18:37:55 +00:00
julien.pierre.boogz%sun.com
6822953cbc Fix for bug 348198 . Use bash with all.sh and ssl.sh to prevent forking and ensure that we always wait for selfserv.
git-svn-id: svn://10.0.0.236/trunk@251075 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 01:28:43 +00:00
julien.pierre.boogz%sun.com
9bcbd59700 Bug 430916 : add sustaining asserts. r=nelson
git-svn-id: svn://10.0.0.236/trunk@251074 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 01:27:11 +00:00
johnath%mozilla.com
d207db08b2 SSL Error page for domain mismatch should hyperlink to correct site (sometimes). b=402210 r=gavin r=kengert r=axel ui-r=beltzner moa/sr=biesi a=beltzner Significant chunks of p=timeless
git-svn-id: svn://10.0.0.236/trunk@251002 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-30 20:10:23 +00:00