6304 Commits

Author SHA1 Message Date
alexei.volkov.bugs%sun.com
b5633697ae wrong place for assertions committed in previous revision. fixed now.
git-svn-id: svn://10.0.0.236/trunk@218560 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:15:46 +00:00
kaie%kuix.de
e7554c3b9f bug 302803, Changes to enabled SSL versions do not take immediate effect
r=nelson


git-svn-id: svn://10.0.0.236/trunk@218423 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 06:10:51 +00:00
kaie%kuix.de
ae84024831 bug 356117, Incorrect spelling in Delete E-Mail Certificates
Patch contributed by Magnus Melin.
r=kengert


git-svn-id: svn://10.0.0.236/trunk@218386 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-15 17:43:20 +00:00
wtchang%redhat.com
84b798c461 Bug 232600: use the same linker flags for programs as for DLLs when doing
optimized builds with MOZ_DEBUG_SYMBOLS=1. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@218285 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 02:54:49 +00:00
nelson%bolyard.com
0f063ff8ea Bug 335019. When importing certs from PKCS12 files, and the cert and the
private key both have different nicknames, import the cert with the
nickname from the file's cert, not from the file's private key.
Also, fix an infinite loop and certain other bugs.  r=neil.williams.


git-svn-id: svn://10.0.0.236/trunk@218281 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-14 00:02:36 +00:00
nelson%bolyard.com
1d5fdadabc Bug 366405. Fix PK11_DeleteTokenPrivateKey to not leak the cert when
force is true.  r=alexei.volkov,wtchang


git-svn-id: svn://10.0.0.236/trunk@218280 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 23:41:21 +00:00
neil.williams%sun.com
62339b0bfb Bug 353745, r=nelson, Patch to fix 7 Klocwork bugs, submitted by Ryan Jones
git-svn-id: svn://10.0.0.236/trunk@218254 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 00:24:34 +00:00
slavomir.katuscak%sun.com
553368e2a6 Bug 335752. Fix for previous patch. r=alexei,sr=nelson
git-svn-id: svn://10.0.0.236/trunk@218237 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-12 10:51:54 +00:00
nelson%bolyard.com
6785167326 Convert from calling PR_GetIPNodeByName to calling PR_GetAddrInfoByName.
Bug 324305. Patch by wtchang.  r=nelson


git-svn-id: svn://10.0.0.236/trunk@218187 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 04:29:11 +00:00
nelson%bolyard.com
afd3149000 Bug 364684. Fix session object handle counter overflows. r=rrelyea,wtchang
git-svn-id: svn://10.0.0.236/trunk@218100 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 04:47:57 +00:00
nelson%bolyard.com
fbdab43d95 Bug 366390. correct misleading function names in fipstest. r=glen.beasley
git-svn-id: svn://10.0.0.236/trunk@218099 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 04:14:30 +00:00
alexei.volkov.bugs%sun.com
a3ba9072c1 This patch incorporates additional suggestions to 342461 fix from Wan-Teh review.
git-svn-id: svn://10.0.0.236/trunk@218093 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 23:39:08 +00:00
alexei.volkov.bugs%sun.com
11990ac0ef 279085: NSS tools display public exponent as negative number. r=nelson
git-svn-id: svn://10.0.0.236/trunk@218039 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:56:28 +00:00
alexei.volkov.bugs%sun.com
35d51963b5 365966: infinite recursive call in VFY_VerifyDigestDirect. r=nelson
git-svn-id: svn://10.0.0.236/trunk@218037 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:37:20 +00:00
kaie%kuix.de
dc92322e19 Bug 164707, Provide a way to view/delete orphan certs
Supplemental patch
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@217894 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 16:36:19 +00:00
mozilla%weilbacher.org
5553257d14 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 6, changes to NSS build config. r=mkaply, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@217892 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 14:27:21 +00:00
nelson%bolyard.com
80a8e751f8 Bug 321584. When importing a PKCS#12 file that has no friendly names,
construct new friendly names, so the import will succeed. r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@217884 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 06:05:50 +00:00
nelson%bolyard.com
f0de83a6bb Bug 232600. Define MOZ_DEBUG_SYMBOLS in environment to create .pdb files
and install them in $DIST.   r=rrelyea,wtchang


git-svn-id: svn://10.0.0.236/trunk@217883 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 05:48:54 +00:00
wtchang%redhat.com
deb589b720 Bug 51429: in safe_pclose, we may call kill + waitpid(WNOHANG) 1000 times
without giving the child any time to receive the SIGKILL signal and
terminate, break out of the while loop, and leave the child behind as a
zombie process.  The patch is contributed by John G. Myers
<jgmyers@speakeasy.net> and Tomas Mraz of Red Hat. r=neil.williams,relyea


git-svn-id: svn://10.0.0.236/trunk@217877 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 01:45:56 +00:00
wtchang%redhat.com
d398cd2cd1 Bug 51429: make sure that safe_popen cannot fail (in the parent process)
after fork succeeded.  r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@217876 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 01:18:24 +00:00
wtchang%redhat.com
513e436274 Bugzilla Bug 351246: Load memory into Highmem on OS/2. The patch is
contributed by Peter Weilbacher <mozilla@Weilbacher.org>. r=wtc,kaply


git-svn-id: svn://10.0.0.236/trunk@217853 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:10:04 +00:00
nelson%bolyard.com
0badc62ed6 Fix crash when importing (unwrapping) private key with no label.
Bug 335481. r=julien,rrelyea


git-svn-id: svn://10.0.0.236/trunk@217812 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 09:46:55 +00:00
nelson%bolyard.com
8ea6267f90 When storing new CRL, Find old CRL and if it can be decoded, delete it.
Bug 363749. r=wtchang,alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@217798 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 01:32:18 +00:00
alexei.volkov.bugs%sun.com
c9763fb007 359331: modutil -changepw strict shutdown failure. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217795 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:33:54 +00:00
alexei.volkov.bugs%sun.com
8e4aef2827 353895: klocwork Null ptr derefs in pki/pkibase.c. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:25:05 +00:00
alexei.volkov.bugs%sun.com
cf01bc82c1 353912: Misc klocwork bugs in lib/ckfw. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217793 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:23:14 +00:00
alexei.volkov.bugs%sun.com
85697cdac7 353780: Klocwork NULL ptr dereferences in pkcs11.c. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217790 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:21:45 +00:00
alexei.volkov.bugs%sun.com
60253eab1a 340218: Coverity 910, memory leaks in CRMF code. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217787 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:00:50 +00:00
alexei.volkov.bugs%sun.com
43e28046c8 301496: NSS_Shutdown failure in p7sign. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:42:40 +00:00
alexei.volkov.bugs%sun.com
25c1501389 342461 - verify signature on an OCSP response without intermediate decoding and encoding. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217777 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:38:29 +00:00
alexei.volkov.bugs%sun.com
2a5c39463b Bug 158242: PK11_PutCRL is very memory inefficient. r=nelson, julien
git-svn-id: svn://10.0.0.236/trunk@217774 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:25:41 +00:00
alexei.volkov.bugs%sun.com
f5741042f8 Bug 363987: crlutil does not change thisUpdate date when creating a modified CRL. r=nelson,neil
git-svn-id: svn://10.0.0.236/trunk@217772 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:18:58 +00:00
alexei.volkov.bugs%sun.com
343934c671 Bug 363480 ocspclnt needs option to take cert from specified file. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217770 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:07:33 +00:00
glen.beasley%sun.com
e3ccc4b5e3 update error codes to NSS r=wtc
git-svn-id: svn://10.0.0.236/trunk@217749 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 19:08:47 +00:00
neil.williams%sun.com
cf6970b3e9 Bug 339906, r=nelson, sec_pkcs12_install_bags passes uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@217700 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 23:02:12 +00:00
nelson%bolyard.com
faa99150f6 Bug 256046. Don't prefix with $(JAVA_DESTPATH)/ if it's undefined.
r=Glen.beasley,neil.williams


git-svn-id: svn://10.0.0.236/trunk@217684 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 13:07:47 +00:00
nelson%bolyard.com
c4995ca9fc Bug 353904. Fix potential NULL ptr deref. Klocwork. r=alexei.volkov
git-svn-id: svn://10.0.0.236/trunk@217683 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 12:57:41 +00:00
nelson%bolyard.com
80b2615268 Bug 354423. Get the right string length. R=alexei.volkov,rrelyea
git-svn-id: svn://10.0.0.236/trunk@217682 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 12:54:10 +00:00
nelson%bolyard.com
e14af33a7a Improve checking of received SSL2 records.
Bug 364319, bug 364323. r=rrelyea, wtchang


git-svn-id: svn://10.0.0.236/trunk@217670 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 05:32:33 +00:00
richm%stanfordalumni.org
96a84d4d49 Resolves: bug 299995
Description: Use PK11_TokenKeyGenWithFlags instead of PK11_KeyGen
Fix Description: Use the new function and pass in CKF_ENCRYPT|CKF_DECRYPT
as the keygen flags.


git-svn-id: svn://10.0.0.236/trunk@216984 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:09:17 +00:00
richm%stanfordalumni.org
ff18d41b73 Resolves: bug 363168
Description: Add autotool support to svrcore; have svrcore build shared libs
Fix Description: This is a pretty basic autotool-ization using libtool
to build the shared library.  The vast majority of the work was done
by Toshio-san.  However, there are a couple of extras worth noting:
1) Windows builds are different now.  In order to build on Windows using
the MSVC compiler, you still have to use coreconf.  I just could not get
configure/libtool to work correctly with the MSVC compiler.  The old
makefile has been moved to src/Makefile.win, so you just have to
 cd src ; make -f Makefile.win
I also updated the README and INSTALL.win to add this information.
2) I added some m4 files to find and figure out which nspr and nss to use
based on the environment and pkg-config.


git-svn-id: svn://10.0.0.236/trunk@216983 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 17:07:32 +00:00
wtchang%redhat.com
79bcd9fcd8 Bug 236613: added newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@216914 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:26:40 +00:00
kaie%kuix.de
df796d13a7 Bug 355409, unable to search LDAP server (over SSL) with tbird 2.0 build, but 1.5.0.7 works
r=wtchang


git-svn-id: svn://10.0.0.236/trunk@216845 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 13:51:25 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
wtchang%redhat.com
e045e318b7 Bugzilla Bug 358785: merged the mozilla/security/nss/lib/libpkix from the
NSS_LIBPKIX_BRANCH onto the NSS trunk.  Approved by rrelyea and nelsonb.


git-svn-id: svn://10.0.0.236/trunk@216782 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 00:27:38 +00:00
wtchang%redhat.com
1cb5d3ccbb Bugzilla Bug 363073: verify that the peer's ephemeral public key is the
type we expect before using it.  r=nelsonb
Modified Files: ssl3con.c ssl3ecc.c


git-svn-id: svn://10.0.0.236/trunk@216773 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:37:29 +00:00
wtchang%redhat.com
ee9615098b Bugzilla Bug 357197: a small but subtle change to reject a hash algorithm
identifier with bogus 'parameters', and a large but straightforward change
of renaming function arguments and improving comments to clarify the
asymmetry between the two certID arguments. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@216772 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:10:52 +00:00
wtchang%redhat.com
17276e586e Bugzilla Bug 361077: removed commented-out code. r=christophe.ravel
git-svn-id: svn://10.0.0.236/trunk@216675 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:31:49 +00:00
wtchang%redhat.com
6bd11fe950 Bugzilla Bug 361077: fixed the bug that HP-UXB.11.*.mk test USE_PTHREADS
before it is set.  Since we always use pthreads now, we can unconditionally
add -D_POSIX_C_SOURCE=199506L to OS_CFLAGS in HP-UXB.11.mk.
r=christophe.ravel
Modified Files:
	HP-UXB.11.00.mk HP-UXB.11.11.mk HP-UXB.11.20.mk
	HP-UXB.11.22.mk HP-UXB.11.23.mk HP-UXB.11.mk


git-svn-id: svn://10.0.0.236/trunk@216673 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 18:28:40 +00:00
kaie%kuix.de
413c4b7249 Bug 362980, Unable to verify the identity of [www.something.com] as a trusted site
Fixes a regression from yesterday's checkin for bug 176501.
r=rrelyea, r=wtchang


git-svn-id: svn://10.0.0.236/trunk@216661 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 13:02:28 +00:00