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
wtchang%redhat.com
f097ed5869
Bugzilla Bug 298522: changed RSA modulus size to 1024 bits and added known
...
answer tests for RSA SHA1, SHA256, SHA384, and SHA512 signatures. The
patch is written by Glen Beasley. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@195074 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:13:50 +00:00
wtchang%redhat.com
acc744e9ea
Bugzilla Bug 236245: Use a stack buffer for ec_params.data in
...
ssl3_SendECDHServerKeyExchange. r=nelson.
git-svn-id: svn://10.0.0.236/trunk@195065 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 16:19:48 +00:00
wtchang%redhat.com
e0570e8fbb
Bugzilla Bug 334553: fixed the comments because mp_digit is actually 64-bit
...
(unsigned long or unsigned long long). r=nelson.
git-svn-id: svn://10.0.0.236/trunk@195064 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 16:13:02 +00:00
rrelyea%redhat.com
e559b7bb4f
Performance tests for ec curves. Test's freebl and pkcs11 interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@195021 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:40:48 +00:00
wtchang%redhat.com
503bb981ba
Bugzilla Bug 326754: checked the change back in. We failed the NIST DSA
...
PQGGen test for some other reason (bug 334533).
git-svn-id: svn://10.0.0.236/trunk@194997 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:55:24 +00:00
kaie%kuix.de
b3a84b66f4
Bug 333691, [@ nsSSLThread::requestPoll - nsSSLIOLayerPoll]
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@194977 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 16:21:57 +00:00
kaie%kuix.de
9f1fed3fb4
Bug 333385, [@ nsKeygenThread::UserCanceled]
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@194976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 16:21:26 +00:00
kaie%kuix.de
4f30b17f91
Bug 333404, freeString is unused DEADCODE in nsCrypto::ImportUserCertificates
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@194975 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 16:21:00 +00:00
kaie%kuix.de
919416f5b8
Bug 333767, nsNSSCertificateDB::AddCertFromBase64 mishandles trust settings
...
r=darin/kengert
git-svn-id: svn://10.0.0.236/trunk@194974 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 16:20:32 +00:00
nelson%bolyard.com
c74c0d6ec1
Bug 80092: SSL write indicates all data sent when some is buffered.
...
SSL now follows NSPR socket semantics and never returns a short write
count on a blocking socket. On a blocking socket, it returns either
the full count or -1 (with an error code set).
For non-blocking sockets, SSL no longer returns a full write count
when some of the data remains buffered in the SSL record layer.
Instead it returns a number is that always at least 1 byte short of a
full write count, so that the caller will keep retrying until it is done.
SSL makes sure that the first byte sent by the caller in the retry
matches the last byte previously buffered. r=rrelyea.
Modified Files: ssl3con.c sslcon.c ssldef.c sslimpl.h sslsecur.c
git-svn-id: svn://10.0.0.236/trunk@194962 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 08:46:34 +00:00
nelson%bolyard.com
f31b5a729a
Fix buffer overflow regression. Bug 236245. sr=wtchang
...
git-svn-id: svn://10.0.0.236/trunk@194956 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 06:57:54 +00:00
alexei.volkov.bugs%sun.com
b2c388de76
Patch contributed by timeless@bemail.org
...
[Bug 334459] Variable "cipherName" tracked as NULL was passed to a
function that dereferences it. [@ PORT_Strdup - SSL_SecurityStatus]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194743 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 00:22:58 +00:00
alexei.volkov.bugs%sun.com
e0789a80bf
Patch contributed by timeless@bemail.org
...
[Bug 334446] oom Crash in nssCKFWFindObjects_Create. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194741 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 00:03:51 +00:00
alexei.volkov.bugs%sun.com
626bddd94f
Patch contributed by timeless@bemail.org
...
[Bug 334443] oom Crash in nssCKFWSession_Create. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194738 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 23:50:43 +00:00
alexei.volkov.bugs%sun.com
d9f496bf5a
Patch contributed by timeless@bemail.org
...
[Bug 334438] oom Crash in ReadDBCertEntry. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194736 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 23:43:32 +00:00
alexei.volkov.bugs%sun.com
ffa5cde3ac
Patch contributed by timeless@bemail.org
...
[Bug 334442] Incorrect use of realloc oom Crash in secmod_ReadPermDB;r=nelson
git-svn-id: svn://10.0.0.236/trunk@194729 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 22:55:24 +00:00
alexei.volkov.bugs%sun.com
89aeb8a876
Patch contributed by nelson@bolyard.com.
...
[Bug 334327] pk11_CreateNewContextInSlot: Variable "(context)->key" tracked as NULL was passed to a function that dereferences it. r=alexei
git-svn-id: svn://10.0.0.236/trunk@194726 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 22:32:30 +00:00
wtchang%redhat.com
b1acfba3d1
Bugzilla bug 334553: use the ULL suffix with unsigned long long constants.
...
r=douglas.stebila.
Modified files: ecl/ecp_256.c mpi/mp_gf2m.c
git-svn-id: svn://10.0.0.236/trunk@194722 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 22:19:09 +00:00
wtchang%redhat.com
377e2c4373
Bugzilla bug 334683: removed extraneous semicolons. r=alexei.volkov.
...
Modified files: cmd/certutil/certutil.c lib/pki/pkistore.h
git-svn-id: svn://10.0.0.236/trunk@194687 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 19:04:23 +00:00
julien.pierre.bugs%sun.com
be59ac6228
Fix for bug 331413. Don't set SO_LINGER in the Win95 build to workaround NSPR bug 332348. r=wtchang
...
git-svn-id: svn://10.0.0.236/trunk@194640 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:57:10 +00:00
wtchang%redhat.com
2a579f7d54
Bugzilla Bug 333917: the non-x86 code in at least the DES_CBCEn and
...
DES_EDE3CBCEn functions violates ANSI C's aliasing rules. So we compile
this file with strict aliasing rules turned off. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@194608 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 17:33:56 +00:00
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