wtchang%redhat.com
1a05b8527a
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
2006-08-15 23:56:01 +00:00
wtchang%redhat.com
97b9b2993d
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
2006-08-15 01:34:38 +00:00
wtchang%redhat.com
f39b05a9ca
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
2006-08-14 17:52:31 +00:00
wtchang%redhat.com
5afe02c97f
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.
2006-08-14 17:05:31 +00:00
wtchang%redhat.com
5f158491dd
Bugzilla Bug 53427: PORT_FreeArena should zero memory before freeing it if
...
the 'zero' argument is true. r=nelsonb.
2006-08-14 16:56:39 +00:00
julien.pierre.bugs%sun.com
1753732e92
Fix for bug 178894 . Unbreak build.
2006-08-07 20:48:04 +00:00
kaie%kuix.de
bf86094fdb
Bug 346551, init SECItem derTemp in crmf_encode_popoprivkey
...
r=wtchang
2006-08-07 20:02:59 +00:00
julien.pierre.bugs%sun.com
ea2ed3465f
Fix for bug 178894 . Quick decoder updates for lib/certdb and lib/certhigh . r=nelson .
2006-08-07 19:09:41 +00:00
julien.pierre.bugs%sun.com
df4e77bbcc
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.
2006-08-05 01:19:23 +00:00
wtchang%redhat.com
05f4353835
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
2006-08-03 21:50:51 +00:00
wtchang%redhat.com
2122650517
Bugzilla Bug 336509: put the FIPS token in the Error state only when the
...
continuous RNG test fails.
2006-07-31 18:31:07 +00:00
wtchang%redhat.com
57d24f003f
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
2006-07-31 18:10:17 +00:00
wtchang%redhat.com
21254b1e83
Bugzilla bug 336509: Made prng_GenerateGlobalRandomBytes static because
...
it's only used in this file. r=neil.williams.
2006-07-29 00:28:12 +00:00
wtchang%redhat.com
b0957357ed
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.
2006-07-28 20:45:01 +00:00
wtchang%redhat.com
65bb6570f8
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.
2006-07-28 20:19:02 +00:00
wtchang%redhat.com
c9e31d8b88
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.
2006-07-27 16:56:56 +00:00
wtchang%redhat.com
d3b60f0a6c
Bugzilla Bug 345775: use SECITEM_FreeItem(..., PR_TRUE) to completely free
...
the SECItem allocated in getECParams. r=alexei.volkov.
2006-07-27 00:33:23 +00:00
wtchang%redhat.com
c234d13e07
Bugzilla Bug 345779: removed two useless assignments and fixed an error in
...
the comment. r=douglas.stebila.
2006-07-26 23:17:46 +00:00
glen.beasley%sun.com
1f3d35b456
345502 RNG power up selftest r=wtc
2006-07-24 03:54:09 +00:00
nelson%bolyard.com
834365353b
Correct ifdefs so that non-ECC builds will continue to build correctly.
...
r=wtchang bug 341707.
2006-07-20 00:17:23 +00:00
nelson%bolyard.com
62b2da3982
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.
2006-07-19 01:40:17 +00:00
nelson%bolyard.com
fa48f0c9c9
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
2006-07-19 01:33:41 +00:00
nelson%bolyard.com
2f93be2011
Coverity bug 340217. Fix leak, crash, and failure to set error codes in
...
CMMF_POPODecKeyChallContDecryptChallenge. r=alexei.volkov
2006-07-19 00:44:02 +00:00
nelson%bolyard.com
d3a863e0bc
Remove FORTEZZA code from this file. Coverity CID 874. r=rrelyea.
2006-07-19 00:36:38 +00:00
nelson%bolyard.com
ecc5a0ca22
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
2006-07-19 00:21:12 +00:00
douglas%stebila.ca
d0f8f3aec2
Bugzilla Bug 338367: Turn GF2M_POPULATE and GFP_POPULATE macros into functions. r+=wtchang
2006-07-19 00:14:31 +00:00
nelson%bolyard.com
0c0fe5ec61
Stop using EXTENSION_NOT_FOUND error in OCSP code. r=julien. bug 287850.
2006-07-19 00:08:52 +00:00
wtchang%redhat.com
3a12ffa7fd
Bugzilla bug 295291: regenerated using the new certdata.perl script.
2006-07-18 23:38:14 +00:00
alexei.volkov.bugs%sun.com
65592a9b96
334459: Variable "(cache)->sharedCache" tracked as NULL was passed to a function that dereferences it. [@ CloseCache - InitCache]. r=nelson
2006-07-17 22:14:48 +00:00
alexei.volkov.bugs%sun.com
d4308b4819
341291: Coverity 689 - potential NULL ptr crash in ssl3_SendCertificate. r=nelson
2006-07-17 22:08:03 +00:00
alexei.volkov.bugs%sun.com
0387a34fe9
341120: Coverity 541 nss_cms_recipients_traverse leaks "rle". r=nelson
2006-07-17 21:57:35 +00:00
alexei.volkov.bugs%sun.com
153dd9531a
341115: Multiple NULL ptr dereferences in nss/lib/base/arena.c. r=nelson
2006-07-17 21:51:32 +00:00
wtchang%redhat.com
0c930e81b0
Bugzilla Bug 295291: removed the unused variable 'a' and sort the
...
definitions of constants in certdata.c. r=nelsonb.
2006-07-17 16:50:45 +00:00
kaie%kuix.de
033d364a4d
Bug 343682, crash in libcrmf with ecc
...
patch=rrelyea, r=kengert, r=nelson
2006-07-13 20:59:51 +00:00
julien.pierre.bugs%sun.com
bceb7a14ed
Fix for bug 341708 . Have client send alert if it detects an invalid server key exchange. r=nelson
2006-06-28 21:15:04 +00:00
wtchang%redhat.com
3a93592def
Bugzilla Bug 338798: use PR_FindFunctionSymbol to look up function
...
symbols. r=alexei.volkov,nelson.
Modified files: freebl/loader.c softoken/dbinit.c
2006-06-26 23:42:59 +00:00
wtchang%redhat.com
11a41b2806
Bugzilla Bug 338798: in C89, local struct variables can only be initialized
...
by constant expressions. HP C compiler version B.11.11.08 generates
incorrect code silently if the initializers are non-constant expressions.
r=alexei.volkov,julien.pierre.
Modified files: cmd/crmftest/testcrmf.c lib/ssl/ssl3con.c
2006-06-26 23:32:19 +00:00
kaie%kuix.de
1ce6ee2a89
Bug 337486, mismatch between PK11_FindCertFromNickname and FindCerts
...
r=rrelyea, r=julien.pierre
2006-06-26 23:21:07 +00:00
rrelyea%redhat.com
e27ebec51e
bug 335748 ECC support for Mozilla. r=wtc
2006-06-23 17:01:38 +00:00
rrelyea%redhat.com
63f322630d
Bug 335748 ECC support for mozilla.
...
r=wtc
2006-06-23 16:57:43 +00:00
wtchang%redhat.com
964136ed2c
Bugzilla Bug 338798: in C89, local struct variables can only be initialized
...
by constant expressions. HP C compiler version B.11.11.08 generates
incorrect code silently if the initializers are non-constant expressions.
r=alexei.volkov,julien.pierre.
2006-06-21 00:40:59 +00:00
wtchang%redhat.com
2f57af8e44
Bugzilla Bug 337034: nested two related tests. r=relyea.
2006-06-17 00:09:59 +00:00
julien.pierre.bugs%sun.com
899e6ce42f
Workaround (or fix) for bug 341573 . Switch compiler option from -fsimple=2 to -fsimple=1
2006-06-16 04:41:34 +00:00
alexei.volkov.bugs%sun.com
5044fff858
[Bug 337110] OOM Crash and memory leak [@ PK11_CreatePBEParams]. r=julien, sr=nelson
2006-06-16 00:42:46 +00:00
wtchang%redhat.com
a49ee28fa8
Bugzilla Bug 341590: in FIPS mode, softoken should report the more serious
...
fatalError condition before the !isLoggedIn condition. r=nelson.
2006-06-15 23:55:59 +00:00
christophe.ravel.bugs%sun.com
cd1aaf4212
Bugzilla 337793: Create a test to check all EC curves
...
r+ Christophe
Committed on behalf of Nelson.
2006-06-15 19:26:01 +00:00
alexei.volkov.bugs%sun.com
3816951a1c
[Bug 337008] OOM crash [@ nssList_Add - STAN_InitTokenForSlotInfo - STAN_LoadDefaultNSS3TrustDomain][@ nssList_Clone - nssList_CreateIterator - STAN_LoadDefaultNSS3TrustDomain] Dereferencing possibly NULL "(td)->tokenList". r=nelson, sr=wtc
2006-06-13 21:36:29 +00:00
wtchang%redhat.com
4d7ec1f89a
Bugzilla Bug 341111: added a dummy reference to the SCCS and RCS version
...
strings so that they won't be optimized away. r=nelsonb.
2006-06-13 17:48:03 +00:00
alexei.volkov.bugs%sun.com
fabd34f574
[Bug 337110] OOM Crash [@ PK11_CreatePBEParams]. r=nelson
2006-06-13 17:33:06 +00:00
alexei.volkov.bugs%sun.com
be7f1dcb5e
[Bug 337099] Crash [@ PK11_ParamFromIV] Variable "iv" tracked as NULL
...
was dereferenced. r=nelson
2006-06-12 21:16:49 +00:00