4155 Commits

Author SHA1 Message Date
jpierre%netscape.com
df243c748e Fix for bug 175167 - don't use mark & release in QuickDER decoder . r=wtc
git-svn-id: svn://10.0.0.236/trunk@139061 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 01:13:22 +00:00
wtc%netscape.com
2e8471d585 Bug 118832: with the removal of the crmfi.h inclusion, CRMFEncryptedKey
becomes an incomplete type, and aCC on HP-UX does not allow using
static_cast to cast a pointer to an incomplete type to void *.  Use
implicit conversion of a data pointer to void * instead. r=kaie. sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@139022 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 15:04:46 +00:00
relyea%netscape.com
c03e47d2be remove last references to TraverseCerts by removing depricated functions with call it. r=wtc
git-svn-id: svn://10.0.0.236/trunk@138980 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:46:20 +00:00
relyea%netscape.com
e797ec8658 Remove external use of SEC_TraversePermCerts(). Bug 130968.
git-svn-id: svn://10.0.0.236/trunk@138895 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 01:04:33 +00:00
relyea%netscape.com
595c9aa935 Bug 185245. including wtc's comments.
Don't reference memory beyond the end the the data element when decoding a
SubjectEntry. Prevents crashes from corrupted Subject Entries.


git-svn-id: svn://10.0.0.236/trunk@138894 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 01:02:03 +00:00
relyea%netscape.com
417864a666 Fix memory leaks. (roll fixes from 3.7 BRANCH).
git-svn-id: svn://10.0.0.236/trunk@138893 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 00:59:36 +00:00
relyea%netscape.com
f054c87eff Incorporate wtc comment from bug 19061 (removal of commented code).
git-svn-id: svn://10.0.0.236/trunk@138888 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 23:11:09 +00:00
relyea%netscape.com
0595879250 bug 162976: make crl update atomic. Set up new Crl with a new Object ID which is different from the old one.
git-svn-id: svn://10.0.0.236/trunk@138884 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:36:27 +00:00
relyea%netscape.com
a3130b9d86 Bug 162976. Make CRL updates 'atomic' . Insert new CRL before deleting the
old one.b


git-svn-id: svn://10.0.0.236/trunk@138882 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:34:56 +00:00
relyea%netscape.com
48cadc778a Print all the certs for a given nickname, not just the first.
git-svn-id: svn://10.0.0.236/trunk@138881 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:32:24 +00:00
relyea%netscape.com
7fb79e38a6 Fix QA failures on tip (don't dereference through a NULL pointer).
git-svn-id: svn://10.0.0.236/trunk@138807 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 19:46:22 +00:00
wtc%netscape.com
b6a61b8a41 Bug 195127: 1. Enable DEBUG_SHVERIFY. 2. Added debug output to print the
file name if PR_Open fails.


git-svn-id: svn://10.0.0.236/trunk@138747 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 01:53:11 +00:00
relyea%netscape.com
56d8f097f5 bug 19590
RFE:Add ability to encode/decode NSSCMSRecipientInfo structures

r=javi,wtc


git-svn-id: svn://10.0.0.236/trunk@138739 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 23:32:29 +00:00
ian.mcgreer%sun.com
b74702329e bug 177556, signtool -l fails
r=wtc


git-svn-id: svn://10.0.0.236/trunk@138724 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:14:36 +00:00
ian.mcgreer%sun.com
f9618061ba bug 191757, InitOIDHash() not threadsafe
r=relyea


git-svn-id: svn://10.0.0.236/trunk@138723 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:13:20 +00:00
bolian.yin%sun.com
e3005521b9 Bug 194821, Page Info: add access keys for _H_elp button, and _V_iew in Security tab
r=db48x, sr=jaggernaut, patch by jessie.li@sun.com.


git-svn-id: svn://10.0.0.236/trunk@138702 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 11:20:20 +00:00
wtc%netscape.com
3eae84f470 Bug 195196: fixed a typo.
git-svn-id: svn://10.0.0.236/trunk@138610 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 14:49:30 +00:00
nelsonb%netscape.com
db2f1140de Add support for Elliptic Curve Cryptography. Bug 195135.
Modified Files:
 	cmd/lib/SECerrs.h cmd/selfserv/selfserv.c
 	cmd/tstclnt/tstclnt.c lib/cryptohi/keyhi.h
 	lib/cryptohi/keythi.h lib/cryptohi/seckey.c
 	lib/cryptohi/secvfy.c lib/freebl/Makefile lib/freebl/blapi.h
 	lib/freebl/blapit.h lib/freebl/ldvector.c lib/freebl/loader.c
 	lib/freebl/loader.h lib/freebl/manifest.mn lib/nss/nss.def
 	lib/pk11wrap/pk11skey.c lib/pk11wrap/pk11slot.c
 	lib/softoken/lowkeyti.h lib/softoken/manifest.mn
 	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
 	lib/softoken/pkcs11t.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
 	lib/ssl/sslcon.c lib/ssl/sslenum.c lib/ssl/sslimpl.h
 	lib/ssl/sslinfo.c lib/ssl/sslproto.h lib/ssl/sslsecur.c
 	lib/ssl/sslsock.c lib/ssl/sslt.h lib/util/secerr.h
 	lib/util/secoid.c lib/util/secoidt.h
Added Files:
 	lib/freebl/GFp_ecl.c lib/freebl/GFp_ecl.h lib/freebl/ec.c
 	lib/freebl/ec.h lib/softoken/ecdecode.c


git-svn-id: svn://10.0.0.236/trunk@138574 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:31:38 +00:00
kairo%kairo.at
de1f7b5269 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@138565 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:05:44 +00:00
nelsonb%netscape.com
434fd1bc8e Add missing dependency on error headers.
git-svn-id: svn://10.0.0.236/trunk@138557 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 23:52:40 +00:00
nelsonb%netscape.com
2334d81ead Fix bug 194840. Get new random seed before each attempt to sign with DSA.
git-svn-id: svn://10.0.0.236/trunk@138484 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 23:45:23 +00:00
kirk.erickson%sun.com
b5ee5bd796 Addresses bug 193378 modutil should print an error message,
by printing error on SECMOD_DeleteInternalModule() failure.


git-svn-id: svn://10.0.0.236/trunk@138408 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 02:09:11 +00:00
wtc%netscape.com
6166f01207 Bug 190537: build OS/2 DLLs using the map files to control symbol export.
The patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: coreconf/OS2.mk coreconf/rules.mk nss/lib/ckfw/nssck.api


git-svn-id: svn://10.0.0.236/trunk@138405 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 01:40:04 +00:00
pete.zha%sun.com
f9f6fa8d4d bug=193068
Missing accesskeys in preference dialogs
r=timeless sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@138317 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 07:59:17 +00:00
robin.lu%sun.com
8f94e9dea7 fixed bug 149841 It should NOT be possible to open cert manager twice at the same time. r=kaie sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138316 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 07:07:13 +00:00
wtc%netscape.com
4f908e5c38 Simplified the test for substrings.
git-svn-id: svn://10.0.0.236/trunk@138191 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:20:07 +00:00
varga%netscape.com
4d74cb4109 Fix for bug 192365. Remove extraneous seltype="multiple" attributes of <tree>s in xul.
r=varga, sr=jag, patch by Daniel Crisman <bugzilla@w.d6.org>


git-svn-id: svn://10.0.0.236/trunk@138173 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 11:48:19 +00:00
mscott%netscape.com
4d95a13df1 ACK this wasn't meant for the trunk. File wasn't tagged properly. Sorry. backing out.
git-svn-id: svn://10.0.0.236/trunk@138141 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:35:31 +00:00
mscott%netscape.com
1cf9b56f5c hide ftp channel when building minotaur
git-svn-id: svn://10.0.0.236/trunk@138139 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:22:51 +00:00
nelsonb%netscape.com
3c19bbc924 Fix bug 160207. Make TLS implementation resistant to timing attacks on
CBC block mode cipher suites in TLS.  See bug for details.


git-svn-id: svn://10.0.0.236/trunk@138124 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 23:00:16 +00:00
wtc%netscape.com
168c93342c Bug 194309: cvs removed libpath.c because the freebl_GetLibraryFilePathname
function has been replaced by the new NSPR 4.3 function
PR_GetLibraryFilePathname.


git-svn-id: svn://10.0.0.236/trunk@138077 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 02:40:52 +00:00
wtc%netscape.com
c30bd7cdf0 Bug 194309: replaced freebl_GetLibraryFilePathname by the new NSPR 4.3
function PR_GetLibraryFilePathname.
Modified files: config.mk manifest.mn shvfy.c


git-svn-id: svn://10.0.0.236/trunk@138057 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 00:41:24 +00:00
mkaply%us.ibm.com
53a1ebe92b OS/2 bustage - PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@138039 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 19:09:43 +00:00
wtc%netscape.com
e4ed87c31b Bug 194222: Removed SECMOD_CallOnce. It is replaced by the new NSPR 4.3
function PR_CallOnceWithArg.
Modified files: nss/nssinit.c pk11wrap/pk11cert.c pk11wrap/secmodi.h


git-svn-id: svn://10.0.0.236/trunk@138037 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 16:58:57 +00:00
wtc%netscape.com
e9f14945d3 Bug 118832: do not include NSS private header files. "genname.h" is simply
not needed.  "crmfi.h" can be avoided by using the public function
CRMF_EncodeCertReqMessages.  r=kaie. sr=bryner. a=asa for mozilla 1.3.
Modified Files: Makefile.in nsCrypto.cpp nsNSSIOLayer.cpp


git-svn-id: svn://10.0.0.236/trunk@138034 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 14:56:10 +00:00
sonja.mirtitsch%sun.com
dbc17eeece writing actual return of modutil to output.log, bug 193394 r=wtc
git-svn-id: svn://10.0.0.236/trunk@138012 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 00:52:40 +00:00
kaie%netscape.com
1e253ffb01 b=173369 Migrating NSS databases from the "CFM" build to the "mach-o" build
r=javi sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@138009 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 00:19:45 +00:00
sonja.mirtitsch%sun.com
2f1589abdc echoing modutil commandline to output.log, bug 193394 r=wtc
git-svn-id: svn://10.0.0.236/trunk@137999 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 23:26:52 +00:00
sonja.mirtitsch%sun.com
a705356285 switching the NSPR version to v4.3-beta1
git-svn-id: svn://10.0.0.236/trunk@137997 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 23:21:23 +00:00
jpierre%netscape.com
5ec2a5f051 Patch for 193961 - incorporate Wan-Teh's feedback
git-svn-id: svn://10.0.0.236/trunk@137989 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 21:50:49 +00:00
wtc%netscape.com
438bdcb562 Bug 190960: added the DHE ciphersuites back because the underlying NSS bug
(bug 188856) that broke them has been fixed. r=kaie. sr=bryner. a=asa for
mozilla1.3.
Modified Files:
	netwerk/base/public/security-prefs.js
	security/manager/pki/resources/content/ssl3tlsciphers2.xul
	security/manager/pki/resources/locale/en-US/pref-ssl.dtd
	security/manager/ssl/src/nsNSSComponent.cpp


git-svn-id: svn://10.0.0.236/trunk@137982 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 15:08:50 +00:00
jpierre%netscape.com
fff7e79a1b Fix for bug 193691 . Make QuickDER return an error rather than assert if extraneous data is present in the buffer
git-svn-id: svn://10.0.0.236/trunk@137968 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 02:29:48 +00:00
thayes%netscape.com
1b54ba57d9 Bug 192639: Use utility functions for managing token passwords so that
cmsutil will prompt for the value if it is not given on the command line.
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@137964 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 00:39:39 +00:00
wtc%netscape.com
04327b5c82 Bug 193367: do not call PR_Now() in a loop. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@137956 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 23:26:39 +00:00
ian.mcgreer%sun.com
e26258fd38 bug 174200, don't attempt to decode cert when destroying it, handle failure
to decode cert serial number
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@137945 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 20:53:14 +00:00
wtc%netscape.com
92e7c17942 Add DHE algorithms to the list. (Merged relyea's checkin (rev. 1.3.2.1)
from the NSS_3_7_BRANCH to the trunk.)


git-svn-id: svn://10.0.0.236/trunk@137931 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 02:53:54 +00:00
wtc%netscape.com
6e5c32e1b4 Bug 188856: it is not necessary to declare 'crv' in these blocks because it
is already declared in the outer scope.


git-svn-id: svn://10.0.0.236/trunk@137929 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 02:47:04 +00:00
wtc%netscape.com
b33225731b Bug 192617: export NSS_CMSRecipientInfo_Wrap/UnwrapBulkKey from the smime3
shared library.


git-svn-id: svn://10.0.0.236/trunk@137926 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 00:45:34 +00:00
wtc%netscape.com
8f4de19ff9 Bug 134967: handle spaces and hyphens in $(USERNAME). Convert them to
underscores.  r=seawood@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@137856 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 20:39:01 +00:00
wtc%netscape.com
3fefa37933 Bug 193055: the "cat ${file} | while read ...do ... done" construct does
not work under MKS Korn shell on Windows XP.  Replaced it by the equivalent
construct "while read ... do ... done < ${file}".


git-svn-id: svn://10.0.0.236/trunk@137841 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 04:48:13 +00:00