5892 Commits

Author SHA1 Message Date
timeless%mozdev.org
cab708d237 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
removing stillborn interface nsICertSelect
r=kaie


git-svn-id: svn://10.0.0.236/trunk@196132 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 01:36:31 +00:00
timeless%mozdev.org
ab9339ddca Bug 331023 Cleanup of IDL files; fixing type inconsistencies
removing stillborn interface
r=kaie


git-svn-id: svn://10.0.0.236/trunk@196131 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 01:34:59 +00:00
timeless%mozdev.org
1921c20288 Bug 334193 nsContinueDespiteCertError's default case should set rv
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@196120 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:33:44 +00:00
wtchang%redhat.com
199827ebf5 Bugzilla Bug 333925: added a comment to paraphrase an obscure if statement.
git-svn-id: svn://10.0.0.236/trunk@196074 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 23:54:05 +00:00
wtchang%redhat.com
8793fa3f70 Bugzilla Bug 333925: worked around AES test failures of code compiled by
Forte 6 update 2 by using the old optimization flags used in NSS 3.10.
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@196069 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 23:39:29 +00:00
wtchang%redhat.com
6c50b9c259 Bugzilla Bug 334679: removed a duplicate line in ec_GF2m_validate_point.
r=douglas.stebila.


git-svn-id: svn://10.0.0.236/trunk@196061 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 23:08:50 +00:00
wtchang%redhat.com
82ee19d1f6 Added/removed blank lines to eliminate the diffs between the trunk and the
NSS_3_11_BRANCH.
Modified files: pkcs11.c pkcs11c.c


git-svn-id: svn://10.0.0.236/trunk@196043 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:31:30 +00:00
wtchang%redhat.com
7132c908b5 Bugzilla Bug 298506: implemented FIPS 140-2 Security Level 2 audit
requirements. r=glen.beasley.
Modified Files:
	fipstokn.c pkcs11.c pkcs11c.c pkcs11i.h softoken.h softoknt.h


git-svn-id: svn://10.0.0.236/trunk@196039 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:02:47 +00:00
julien.pierre.bugs%sun.com
31f8fe7073 Fix for bug 336335 . Plug leak of a temporary bignum in modular exponentiation . r=wtchang
git-svn-id: svn://10.0.0.236/trunk@196003 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 01:22:59 +00:00
dveditz%cruzio.com
2f14765059 bug 283565 fix leak, return more specific error on OOM. patch by timeless, r=kengert, sr=dveditz, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@195973 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 17:59:36 +00:00
julien.pierre.bugs%sun.com
2f997c69be Fix for bug 336335 - memory leaks in ECC code. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@195948 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 01:06:51 +00:00
julien.pierre.bugs%sun.com
0cb4a16899 Fix for bug 219932 . NISCC test script enhancements. Patch submitted by Jason Reid (jason.m.reid@sun.com) . r=slavomir.katuscak@sun.com,julien.pierre@sun.com
git-svn-id: svn://10.0.0.236/trunk@195780 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 22:52:32 +00:00
julien.pierre.bugs%sun.com
cc4d136c0b Fix for bug 335021. Add SEC_ASN1_CONSTRUCTED to S/MIME EKP template. r=relyea
git-svn-id: svn://10.0.0.236/trunk@195700 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-29 00:18:42 +00:00
rrelyea%redhat.com
e431a8a62f Attachment #215739: Use SSE2 multiply instructions on intel processors. for bug #326482
r=nelson r=wtc


git-svn-id: svn://10.0.0.236/trunk@195644 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 17:06:22 +00:00
benjamin%smedbergs.us
c6c12f9415 Bug 333308 - make clean/distclean misses various files, patch by Mike Hommey <mh+mozilla@glandium.org>, r=me
git-svn-id: svn://10.0.0.236/trunk@195642 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 14:54:54 +00:00
christophe.ravel.bugs%sun.com
7a3f1e5e60 [Bug 334843] Add rpath for HP-UX on pa-risc
r+ neil.williams.


git-svn-id: svn://10.0.0.236/trunk@195610 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:37:26 +00:00
glen.beasley%sun.com
ea1bc48ab2 JSS version 4.2.3 RTM
git-svn-id: svn://10.0.0.236/trunk@195607 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:18:44 +00:00
alexei.volkov.bugs%sun.com
107da61d56 [Bug 334274] double free in CRMF_EncryptedKeyGetEncryptedValue. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195598 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 22:09:28 +00:00
alexei.volkov.bugs%sun.com
c053349cfc [Bug 334326] DecodeV4DBCertEntry: Variable "(entry)->nickname" tracked as NULL was passed to a function that dereferences it. r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@195581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:35:24 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
alexei.volkov.bugs%sun.com
e6f91cb6ba [Bug 334454] Variable "(key)->pkcs11Slot" tracked as NULL was passed to a function that dereferences it. [@ SECKEY_CopyPrivateKey - SSL_ConfigSecureServer]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195455 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:41:30 +00:00
alexei.volkov.bugs%sun.com
80d9da6a36 [Bug 333389] sftk_NewAttribute should not crash when so is NULL [@ sftk_NewAttribute]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195453 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:19:07 +00:00
alexei.volkov.bugs%sun.com
dd2f2137fd [Bug 334522] pk12util crash in SEC_PKCS12DecoderValidateBags. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195429 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 06:47:30 +00:00
gijskruitbosch%gmail.com
028552fd0d Bug 153232 - Missing break; for BAD_SIGNATURE case
r+sr = Kai Engert


git-svn-id: svn://10.0.0.236/trunk@195352 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 14:33:15 +00:00
nelson%bolyard.com
43fcdd75f3 Disable AMD64 assembly optimizations. Bug 334057. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195339 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 05:51:23 +00:00
nelson%bolyard.com
66ee9b948c Bug 294537: ssltap should display ASCII CA names from cert request message
r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@195337 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:58:45 +00:00
nelson%bolyard.com
276d240e0c Backout the last change, undoing the fix for bug 320336 and bug 333405.
git-svn-id: svn://10.0.0.236/trunk@195336 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:39:24 +00:00
alexei.volkov.bugs%sun.com
41df12217a [Bug 334277] double free in [@ sftk_FreeAttribute - sftk_DeleteAttributeType]. r=relyea
git-svn-id: svn://10.0.0.236/trunk@195326 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 02:34:01 +00:00
alexei.volkov.bugs%sun.com
3f3d42121a [Bug 334276] double free in [@ SECKEY_CopyPublicKey]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195325 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 02:23:52 +00:00
wtchang%redhat.com
db87af390e Bugzilla Bug 335275: include pk11pqg.h to declare the PK11_PQG_ functions.
The PK11_PQG_ functions operate on PQGParams, so we declare pqgParams as
a pointer to PQGParams, and cast a SECKEYParams pointer to a PQGParams
pointer. (SECKEYParams and PQGParams are isomorphic.)  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@195317 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 01:26:42 +00:00
wtchang%redhat.com
61120f7730 Bugzilla Bug 320336: SECITEM_AllocItem should return a NULL pointer if the
allocation of its 'data' buffer fails. r=nelson.  This checkin fixed bug
333405 as a byproduct.
Modified files: secitem.c secitem.h


git-svn-id: svn://10.0.0.236/trunk@195304 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 22:50:13 +00:00
nelson%bolyard.com
96ee922999 Remove call to printf in ecl/ecp_224.c Bug 334448. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@195297 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 21:27:38 +00:00
wtchang%redhat.com
b55ecb3aaa Bugzilla bug 335275: compile with the GCC flag
-Werror-implicit-function-declaration. r=nelsonb.
Modified files: Linux.mk SunOS5.mk


git-svn-id: svn://10.0.0.236/trunk@195291 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 20:07:15 +00:00
nelson%bolyard.com
18f5691bc8 Display TLS hello extensions and alerts. Display ECC cipher suites.
Bug 333600 and bug 334314. r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@195240 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 06:11:41 +00:00
nelson%bolyard.com
6324e565a4 Put nss.def file sections in numeric order, and alphabetical order
within sections.


git-svn-id: svn://10.0.0.236/trunk@195233 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:08:04 +00:00
nelson%bolyard.com
0cfc8e8fb2 Bug 323350. sr=rrelyea. This patch makes 3 changes:
1) it adds a new ifdef which enables SSL to limit itself to the 3 Suite B
   curves.
2) it corrects the creation and parsing of the Supported Curve extension to
   conform with the lastest definition, by using 2 bytes to encode the list
   length,
3) it changes the algorithm that picks the curve for ECDHE to choose a curve
   that is at least as strong as the "weakest link", is mutually supported
   by client and server, and is the fastest for its size.


git-svn-id: svn://10.0.0.236/trunk@195173 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 00:17:18 +00:00
julien.pierre.bugs%sun.com
2a4fdc5a24 Fix for bug 335039. Declare nssCKFWCRyptoOperation_UpdateCombo. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@195148 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 05:30:18 +00:00
julien.pierre.bugs%sun.com
dc8c3e567a Fix red tree on Windows.
git-svn-id: svn://10.0.0.236/trunk@195145 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 05:19:47 +00:00
alexei.volkov.bugs%sun.com
d49d65df53 [Bug 334183] Double free on error because CERT_FindCertIssuer unexpectedly calls CERT_DestroyCertificate. r=alexei
git-svn-id: svn://10.0.0.236/trunk@195138 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 02:09:31 +00:00
julien.pierre.bugs%sun.com
4a2a325570 Fix for bug 331413 . replace signal with sigaction; fix logging. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@195136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:28:14 +00:00
alexei.volkov.bugs%sun.com
7c2de82fc1 Patch contributed by timeless@bemail.org
[Bug 334449] oom Crash in crmf_template_copy_secalg. r=nelson


git-svn-id: svn://10.0.0.236/trunk@195135 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:26:00 +00:00
alexei.volkov.bugs%sun.com
75d092076e Patch contributed by timeless@bemail.org
[Bug 334436] nsslowcert_UpdateSubjectEmailAddr doesn't consistently use emailAddrs as a guard of nemailAddrs guarding emailAddrs[0]. r=nelson


git-svn-id: svn://10.0.0.236/trunk@195134 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:19:48 +00:00
alexei.volkov.bugs%sun.com
9106766232 Patch contributed by timeless@bemail.org
[Bug 334328] nsspkcs5_PKCS12PBE: Variable "A" tracked as NULL was dereferenced. r=nelson


git-svn-id: svn://10.0.0.236/trunk@195133 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:13:15 +00:00
alexei.volkov.bugs%sun.com
9c4442c780 [Bug 334275] double free in [@ PK11_ListPublicKeysInSlot]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195132 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:08:17 +00:00
alexei.volkov.bugs%sun.com
e846364e93 [Bug 334273] double free in SECKEY_DecodeDERSubjectPublicKeyInfo. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195131 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:03:22 +00:00
alexei.volkov.bugs%sun.com
fd41f546b1 [Bug 334240] double free in nsslowkey_ConvertToPublicKey if SECITEM_CopyItem or SECITEM_CopyItem fail. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195130 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:59:18 +00:00
alexei.volkov.bugs%sun.com
cad0280f89 [Bug 334236] double free in PK11_ListPrivKeysInSlot if keys allocation fails. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195129 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:55:29 +00:00
wtchang%redhat.com
77e80a9806 Bugzilla Bug 333932: fixed Solaris SPARC GCC build failures.
r=christophe.ravel


git-svn-id: svn://10.0.0.236/trunk@195126 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:13:29 +00:00
alexei.volkov.bugs%sun.com
97a42de3d0 [Bug 334234] PK11_NewSlotInfo returns freed objects if lock allocations fail. r=nelson
git-svn-id: svn://10.0.0.236/trunk@195120 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 23:29:37 +00:00
wtchang%redhat.com
40f9d846b0 Bugzilla Bug 334533: in getPQseed we always set the most significant bit of
SEED to 1 to make NIST CMVP's PQG parameter validation tool happy. In
PQG_ParamGenSeedLen we require the length of SEED be at least 20 bytes.
r=nelson.


git-svn-id: svn://10.0.0.236/trunk@195080 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:48:30 +00:00