6076 Commits

Author SHA1 Message Date
wtchang%redhat.com
58f5aca997 Bugzilla Bug 53427: Added PORT_ArenaZRelease and change secasn1d.c to zero
our_pool before releasing or freeing it. r=nelsonb,jpierre.
Modified files: secasn1d.c secport.c secport.h


git-svn-id: svn://10.0.0.236/trunk@207510 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 23:56:01 +00:00
wtchang%redhat.com
2497818b9e Bugzilla Bug 325148: worked around the change of backslash-newline behavior
inside single-quoted strings in GNU make 3.81.  The patch is contributed by
Pawel Chmielowski <prefiks@aviary.pl>. r=benjamin.smedberg,wtc.


git-svn-id: svn://10.0.0.236/trunk@207494 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 21:35:25 +00:00
wtchang%redhat.com
a0998099c1 Bugzilla Bug 53427: passed the correct 'zero' argument to PORT_FreeArena.
Removed dead code. r=nelsonb,relyea.
Modified Files:
	softoken/keydb.c softoken/lowpbe.c softoken/pkcs11c.c
	util/secdig.c


git-svn-id: svn://10.0.0.236/trunk@207406 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:34:38 +00:00
wtchang%redhat.com
de69a1296b Bugzilla Bug 336813: Improved NSC_GetTokenInfo and FC_GetTokenInfo. Always
set CKF_RNG. Set the utcTime member to 16 zeros "0000000000000000".
Factored out the common flag CKF_RNG and CKF_THREAD_SAFE. r=nelsonb,relyea.
Modified files: fipstokn.c pkcs11.c


git-svn-id: svn://10.0.0.236/trunk@207330 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 17:52:31 +00:00
wtchang%redhat.com
9caa55b430 Bugzilla Bug 347409: removed the on-demand initiation of the FIPS power-up
self-tests from FC_Login. We now require the user to shut down and restart
the softoken to initiate the power-up tests on demand. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@207321 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 17:05:31 +00:00
wtchang%redhat.com
2a4003f6cc Bugzilla Bug 53427: PORT_FreeArena should zero memory before freeing it if
the 'zero' argument is true. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@207318 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 16:56:39 +00:00
tony%ponderer.org
48f4b86760 fix bustage
git-svn-id: svn://10.0.0.236/trunk@207210 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 07:08:36 +00:00
tony%ponderer.org
3208957317 bug 337733: implement an rc4 xpcom interface and key object
patch: nsIKeyObject and nsIKeyObjectFactory and nsIStreamCipher
r=darin,sr=rrelyea


git-svn-id: svn://10.0.0.236/trunk@207209 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 06:39:47 +00:00
kaie%kuix.de
40926db14c Bug 316837, crash in [@ strchr - nsNSSCertificateDB::getCertNames] on cert without nickname
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@207077 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 19:26:06 +00:00
julien.pierre.bugs%sun.com
1e0735f5b0 Fix for bug 178894 . Unbreak build.
git-svn-id: svn://10.0.0.236/trunk@206750 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 20:48:04 +00:00
kaie%kuix.de
0172cc4df1 Bug 342646, Trunk crashes while opening HTTPS links with Ad Muncher running
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@206749 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 20:15:45 +00:00
kaie%kuix.de
bb1a2e592b Bug 346551, init SECItem derTemp in crmf_encode_popoprivkey
r=wtchang


git-svn-id: svn://10.0.0.236/trunk@206745 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 20:02:59 +00:00
julien.pierre.bugs%sun.com
a48ba8324d Fix for bug 178894 . Quick decoder updates for lib/certdb and lib/certhigh . r=nelson .
git-svn-id: svn://10.0.0.236/trunk@206742 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 19:09:41 +00:00
wtchang%redhat.com
fb9a9278b8 Bugzilla Bug 316369: support building JSS on Mac OS X. The patch is
contributed by Nathin Kinder <nkinder@redhat.com>. r=wtc.
Modified files: coreconf/jdk.mk jss/lib/config.mk


git-svn-id: svn://10.0.0.236/trunk@206633 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-05 01:27:41 +00:00
julien.pierre.bugs%sun.com
3d5bc5fab1 Fix for bug 177184 . NSS_CMSDecoder_Cancel might have a leak . And this patch might fix it, or not. But this bug needs to be put to rest.
git-svn-id: svn://10.0.0.236/trunk@206632 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-05 01:19:23 +00:00
wtchang%redhat.com
c3319980a8 Bugzilla Bug 347024: Moved the software integrity test from
nsc_CommonInitialize to the new function sftk_fipsSoftwareIntegrityTest
and have sftk_fipsPowerUpSelfTest call sftk_fipsSoftwareIntegrityTest.
Updated the audit logging code.  Removed an extraneous comma between two
string literals in fipstokn.c. r=relyea,nelsonb.
Modified files: fipstest.c fipstokn.c pkcs11.c


git-svn-id: svn://10.0.0.236/trunk@206520 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 21:50:51 +00:00
wtchang%redhat.com
1e048e0321 Bugzilla Bug 336509: put the FIPS token in the Error state only when the
continuous RNG test fails.


git-svn-id: svn://10.0.0.236/trunk@206178 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 18:31:07 +00:00
wtchang%redhat.com
305f77214d Bugzilla Bug 336509: check for continuous RNG test failure after direct and
indirect uses of the RNG. r=relyea,nelsonb.
Modified files: fipstokn.c keydb.c pkcs11.c pkcs11c.c pkcs11i.h rsawrapr.c
                softoken.h


git-svn-id: svn://10.0.0.236/trunk@206166 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 18:10:17 +00:00
gavin%gavinsharp.com
df811a31b5 Bug 343253: Improve unknown cert issuer dialog, r=kaie, sr=neil, ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@206156 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 17:37:50 +00:00
wtchang%redhat.com
3f56585bc9 Bugzilla bug 336509: Made prng_GenerateGlobalRandomBytes static because
it's only used in this file. r=neil.williams.


git-svn-id: svn://10.0.0.236/trunk@205108 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:28:12 +00:00
wtchang%redhat.com
9372a674a6 Bugzilla Bug 345502: C89 doesn't allow initializing a local array. Fixed
some array sizes.  The patch is contributed by Glen Beasley of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@205082 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 20:45:01 +00:00
wtchang%redhat.com
6f4cbeded7 Bugzilla Bug 345941: fixed another bug that we might pass uninitialized
'req' to fclose(). Thanks to Wolfgang Rosenauer <mozilla@rosenauer.org> for
reporting the bug and reviewing the patch.


git-svn-id: svn://10.0.0.236/trunk@205078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 20:19:02 +00:00
wtchang%redhat.com
f42d8691f1 Bugzilla Bug 345941: fixed the bug that we might pass uninitialized 'req'
to fclose(). r=glen.beasley.  Thanks to Wolfgang Rosenauer
<mozilla@rosenauer.org> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@204934 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 16:56:56 +00:00
wtchang%redhat.com
0bd41b0a25 Bugzilla Bug 345775: use SECITEM_FreeItem(..., PR_TRUE) to completely free
the SECItem allocated in getECParams. r=alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@203789 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 00:33:23 +00:00
wtchang%redhat.com
3e706ee0fa Bugzilla Bug 345779: removed two useless assignments and fixed an error in
the comment. r=douglas.stebila.


git-svn-id: svn://10.0.0.236/trunk@203784 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 23:17:46 +00:00
glen.beasley%sun.com
5a018dd081 345502 RNG power up selftest r=wtc
git-svn-id: svn://10.0.0.236/trunk@203488 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 03:54:09 +00:00
nelson%bolyard.com
3c8ae7422c Correct ifdefs so that non-ECC builds will continue to build correctly.
r=wtchang  bug 341707.


git-svn-id: svn://10.0.0.236/trunk@203201 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 00:17:23 +00:00
martijn.martijn%gmail.com
51f062fe1b Bug 344689 - CertViewer is missing some accesskeys, patch by Giacomo Magnini, r=kengert, sr=neil
git-svn-id: svn://10.0.0.236/trunk@203087 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 10:22:56 +00:00
nelson%bolyard.com
505b7efaff Curve-limited clients must not negotiate ECC ciphersuites unless they send the supported curve extension. This means that when they are nogotiating SSL 3.0
and not TLS, they should not negotiate ECC ciphersuites at all.
Bug 341707.  r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@203068 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 01:42:58 +00:00
nelson%bolyard.com
637b0c77db Workaround bogus assertion failure in MSVC 8 (Express, 2005) RTL by switching
from the old _findfirst, _findnext file enumeration API to the newer
FindFirstFile, FindNextFile API.  Might be slower, but won't crash if it finds
files older than 1970.  Bug 331404. r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@203067 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 01:33:41 +00:00
nelson%bolyard.com
50c4d8b146 Coverity bug 340217. Fix leak, crash, and failure to set error codes in
CMMF_POPODecKeyChallContDecryptChallenge. r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@203058 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:45:31 +00:00
nelson%bolyard.com
b2d5ca7bed Remove FORTEZZA code from this file. Coverity CID 874. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@203055 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:36:38 +00:00
nelson%bolyard.com
80ba0291f4 Remove dead function SECU_GetPBEPassword from nss/cmd/lib/secutil.*
Patch contributed by Jon Smirl <jonsmirl@gmail.com>
Coverity CID 516. Bug 337081.  r=nelson@bolyard.com


git-svn-id: svn://10.0.0.236/trunk@203050 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:25:03 +00:00
douglas%stebila.ca
422d3e64c6 Bugzilla Bug 338367: Turn GF2M_POPULATE and GFP_POPULATE macros into functions. r+=wtchang
git-svn-id: svn://10.0.0.236/trunk@203049 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:14:31 +00:00
nelson%bolyard.com
abac1b36c0 Stop using EXTENSION_NOT_FOUND error in OCSP code. r=julien. bug 287850.
git-svn-id: svn://10.0.0.236/trunk@203048 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:08:52 +00:00
wtchang%redhat.com
84d10d5420 Bugzilla bug 295291: regenerated using the new certdata.perl script.
git-svn-id: svn://10.0.0.236/trunk@203043 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 23:38:14 +00:00
gavin%gavinsharp.com
495f637401 Bug 174699: hot key for Tool-Page Info-Security tab doesn't work, patch by Giacomo Magnini <giacomo.magnini@portalis.it>, r=iann/kaie
git-svn-id: svn://10.0.0.236/trunk@202649 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 16:28:16 +00:00
alexei.volkov.bugs%sun.com
5761fab072 334459: Variable "(cache)->sharedCache" tracked as NULL was passed to a function that dereferences it. [@ CloseCache - InitCache]. r=nelson
git-svn-id: svn://10.0.0.236/trunk@202258 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 22:15:10 +00:00
alexei.volkov.bugs%sun.com
b1e4bcb35a 341291: Coverity 689 - potential NULL ptr crash in ssl3_SendCertificate. r=nelson
git-svn-id: svn://10.0.0.236/trunk@202256 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 22:08:03 +00:00
alexei.volkov.bugs%sun.com
cceb6694e2 341120: Coverity 541 nss_cms_recipients_traverse leaks "rle". r=nelson
git-svn-id: svn://10.0.0.236/trunk@202255 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 21:57:35 +00:00
alexei.volkov.bugs%sun.com
e9219b8222 341115: Multiple NULL ptr dereferences in nss/lib/base/arena.c. r=nelson
git-svn-id: svn://10.0.0.236/trunk@202254 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 21:51:32 +00:00
wtchang%redhat.com
a6f5abc9cf Bugzilla Bug 295291: removed the unused variable 'a' and sort the
definitions of constants in certdata.c. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@202230 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 16:50:45 +00:00
kaie%kuix.de
a09102e984 Bug 343682, crash in libcrmf with ecc
patch=rrelyea, r=kengert, r=nelson


git-svn-id: svn://10.0.0.236/trunk@202088 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 21:01:40 +00:00
bugzilla%standard8.demon.co.uk
6cbe3c44f1 Bug 343395 Help buttons not displayed on SeaMonkey when build as an xul application (MOZ_XUL_APP=1). r=kaie,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@202056 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 18:59:37 +00:00
richm%stanfordalumni.org
a39f553094 Bump spec rev to 3
Remove unneeded buildrequires perl, gawk, sed
Remove leading / from path macros
Remove provides for package name - done automatically
Move pkgconfig file stuff under install
Added LICENSE and README under docs


git-svn-id: svn://10.0.0.236/trunk@202046 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 18:10:21 +00:00
darin%meer.net
c986d532a8 fixes bug 343223 "On Mozilla trunk (1.9 +) cert viewer does no longer display verification info" r=kengert
git-svn-id: svn://10.0.0.236/trunk@201892 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 19:13:59 +00:00
kaie%kuix.de
d1ad44e1b5 bug 236933, add on patch to address l10n review comments, renames string ids
r=l10n


git-svn-id: svn://10.0.0.236/trunk@201522 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 10:48:48 +00:00
hwaara%gmail.com
4581ed1b59 Make newserver.js be preprocessed. Fixes bug 343223 and bug 343318. Patch by Regis Caspar <regis.caspar+bz@gmail.com>. r=Mano
git-svn-id: svn://10.0.0.236/trunk@201422 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 12:55:37 +00:00
kaie%kuix.de
02771a2183 Follow up checkin for bug 336944,
address Darin's additional review comments.


git-svn-id: svn://10.0.0.236/trunk@201407 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 03:33:43 +00:00
kaie%kuix.de
8d9678439d Additional checkin for bug 236933, Patch 5 - strings,
in order to improve the error messages on weak crypto sites.
ui-r=beltzner, r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@201405 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 03:18:34 +00:00