glen.beasley%sun.com
e135c4be16
fix by wan-teh for RSA siggen tests r=glen
...
git-svn-id: svn://10.0.0.236/trunk@190191 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:52:51 +00:00
wtchang%redhat.com
3fce3ffa2d
Bugzilla Bug 318967: use 160-bit SEED when generating DSA domain parameters
...
(PQG). Removed unused keySizeIndex variables. Handle the return value and
result output parameter of PQG_VerifyParams separately. Pad H with leading
0's when printing. r=glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@190188 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:28:35 +00:00
julien.pierre.bugs%sun.com
c94cc640d1
Fix for bug 321765. Allow NSS to decode certs with unsupported critical extensions. r=wtchang,nelson,rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@190162 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 00:06:24 +00:00
alexei.volkov.bugs%sun.com
5b6736aa0f
[Bug 326963] Interoperability test with apache/mod_ssl: tstclnt
...
produces: assertion failure: secmod_PrivateModuleCount == 0; r=nelson, sr=julie
n
git-svn-id: svn://10.0.0.236/trunk@190145 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 22:22:32 +00:00
wtchang%redhat.com
4c3f242d31
Bugzilla Bug 318962: fixed signed/unsigned comparison warnings by MSVC.
...
r=glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@190133 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:14:09 +00:00
wtchang%redhat.com
c4308dad4e
Bugzilla Bug 318968: more ECDSA test cleanup. Do not zeroize when freezing
...
ECParams' arenas. Use EC_CopyParams to copy ECParams to an EC public key
and allocate the public key's value from the same arena. r=glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@190130 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:06:51 +00:00
wtchang%redhat.com
e84d9756e0
Bugzilla Bug 326754: fixed two minor bugs related to the h parameter in
...
PQG parameter generation. r=nelsonb,glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@189925 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 03:04:57 +00:00
wtchang%redhat.com
d906a59109
Bugzilla Bug 326144: need to zeroize a SECItem that contains a copy of the
...
secret key. r=relyea,jpierre.
git-svn-id: svn://10.0.0.236/trunk@189923 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 02:55:09 +00:00
wtchang%redhat.com
d59543691c
Bugzilla bug 326751: CKR_SIGNATURE_INVALID is a much better default error
...
code for NSC_VerifyRecover than CKR_DEVICE_ERROR is. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@189748 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 02:03:25 +00:00
glen.beasley%sun.com
dd9953c212
318970 RSA sigver test fix r=wan-teh
...
git-svn-id: svn://10.0.0.236/trunk@189726 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:27:38 +00:00
rrelyea%redhat.com
99fa932ed0
Bugzilla Bug 326482 NSS ECC performance problems.
...
Patch by Nelson, r=relyea.
Save the public key when we create the keypair so we can use it later.
git-svn-id: svn://10.0.0.236/trunk@189566 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 19:39:53 +00:00
rrelyea%redhat.com
7737de0a17
Bugzilla Bug 326482 NSS ECC performance problems.
...
r=nelsonb
Fix bug where ECC keys were not being copied on server startup
git-svn-id: svn://10.0.0.236/trunk@189563 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 18:54:58 +00:00
neil.williams%sun.com
a04a3a8fbd
Bug 325657, r=Nelson,Wan-Teh, Unset ECL_USE_FP INT Solaris SPARC freebl
...
git-svn-id: svn://10.0.0.236/trunk@189549 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 04:38:05 +00:00
rrelyea%redhat.com
4784e5f4df
Bug 320187 NSC_WrapKey called with null output returns short length
...
r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@189498 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 19:54:22 +00:00
neil.williams%sun.com
7a3a63def1
Bug #325682 , Adds -Wl,-rpath to link step for Linux distributions
...
r=Nelson, sr=Wan-Teh
git-svn-id: svn://10.0.0.236/trunk@189445 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 00:12:17 +00:00
rrelyea%redhat.com
0a3bb0e619
Bug 320583 Support for SHA256/384/512 with ECC signing
...
git-svn-id: svn://10.0.0.236/trunk@189396 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 06:14:31 +00:00
julien.pierre.bugs%sun.com
dbfc3cef40
Fix for bug 326144 . softoken leaks in nsc_pbe_key_gen. r=nelson, rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@189064 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 00:44:42 +00:00
wtchang%redhat.com
f24939aa0a
Bugzilla Bug 318967: fixed compiler warnings, most of which were char *
...
and unsigned char * mismatches. r=glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@188916 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 06:39:44 +00:00
kaie%kuix.de
4ef17385ee
Fix build bustage, change // comment to /* */
...
git-svn-id: svn://10.0.0.236/trunk@188877 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 20:24:21 +00:00
kaie%kuix.de
4fe61af9b5
bug 152426, delegation of HTTP download for OCSP
...
r=julien.pierre, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@188865 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 18:16:46 +00:00
neil.williams%sun.com
564d2724b7
bug 245518 r=nelson, fix for p12 files encoded with null PWs
...
git-svn-id: svn://10.0.0.236/trunk@188775 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:26:03 +00:00
nelson%bolyard.com
e333c2b280
Work around bug 292285: don't encode x400 addresses, don't print CRL contents
...
r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@188744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 07:56:19 +00:00
wtchang%redhat.com
4f2cd0ac9b
Allow CKM_ECDSA_SHA1 to be multipart. Bug 325494.
...
Patch contributed by Andreas Sterbenz <Andreas.Sterbenz@sun.com>
r=nelsonb,relyea,wtc.
git-svn-id: svn://10.0.0.236/trunk@188743 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 07:21:56 +00:00
alexei.volkov.bugs%sun.com
f2211c150e
[Bug 325307] infinite loop in SECU_FindCrlIssuer. r=julien
...
git-svn-id: svn://10.0.0.236/trunk@188734 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 02:45:02 +00:00
alexei.volkov.bugs%sun.com
771006f903
[Bug 324878] crlutil -L outputs false CRL names. r=julien
...
git-svn-id: svn://10.0.0.236/trunk@188732 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 02:35:07 +00:00
alexei.volkov.bugs%sun.com
1084f317dc
325305: minor memory leak in CERT_FindCertByNameString. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@188723 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 00:57:54 +00:00
wtchang%redhat.com
1d637966c0
Bugzilla Bug 318966: implemented the tests for the NIST RNG Validation
...
System. r=glen.beasley.
Modified file: fipstest.c
Added file: rng.sh
git-svn-id: svn://10.0.0.236/trunk@188699 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 21:28:25 +00:00
wtchang%redhat.com
a179d8ba96
Bugzilla Bug 318966: added two RNG functions FIPS186Change_GenerateX and
...
FIPS186Change_ReduceModQForDSA to blapi.h for the NIST RNG Validation
System. r=relyea,nelsonb.
Modified files: blapi.h ldvector.c loader.c loader.h prng_fips1861.c
git-svn-id: svn://10.0.0.236/trunk@188697 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 21:18:44 +00:00
rrelyea%redhat.com
3b3dd5bfab
Bug 319619 "large" ECC private keys cannot be exported through PKCS #11
...
1) Change the export encrypted private key function to ask the token the wrap
size rather than trying to figure it out ourselves.
2) Fix the soften to correctly return the size.
r=wtc, nelsonb
git-svn-id: svn://10.0.0.236/trunk@188668 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 16:43:47 +00:00
glen.beasley%sun.com
4c7d34eaf8
318970 RSA FIPS tests r=wan-teh sr=bobRelyea
...
git-svn-id: svn://10.0.0.236/trunk@188528 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:52:13 +00:00
glen.beasley%sun.com
35f65fcd5f
318970 RSA FIPS tests r=wan-teh sr=bobRelyea
...
git-svn-id: svn://10.0.0.236/trunk@188527 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:49:02 +00:00
glen.beasley%sun.com
76b32c43a5
318970 RSA FIPS Alg Tests r=wan-teh, sr=bRelyea
...
git-svn-id: svn://10.0.0.236/trunk@188483 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 20:01:05 +00:00
nelsonb%netscape.com
4e73e3abe9
Fix broken build, caused by c++ style comment in c code.
...
git-svn-id: svn://10.0.0.236/trunk@188383 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 02:38:07 +00:00
nelsonb%netscape.com
5f09451b56
Set SSL2 and SSL3 timeout times properly for SSL server session cache.
...
Bug 223242. r=jullien.pierre
git-svn-id: svn://10.0.0.236/trunk@188382 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 02:21:31 +00:00
glen.beasley%sun.com
860e7e5f8e
328967 DSA FIPS tests r=Wan-Teh
...
git-svn-id: svn://10.0.0.236/trunk@188355 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:53:07 +00:00
wtchang%redhat.com
9731576fbf
Removed a blank line that broke the ssl_stress function in ecssl.sh, which
...
cannot handle blank lines.
git-svn-id: svn://10.0.0.236/trunk@188354 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:44:13 +00:00
wtchang%redhat.com
0595eaf565
Bugzilla Bug 320589: temporary workaround for SEC_SignData ECDSA signature
...
generation bug introduced by the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@188288 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:51:42 +00:00
wtchang%redhat.com
edf6204f51
Removed an extraneous semicolon after the last parameter in a function
...
declaration.
git-svn-id: svn://10.0.0.236/trunk@188283 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:21:39 +00:00
nelsonb%netscape.com
a934662573
Remove unnecessary ISALIST test from sparc versions of freebl DSOs.
...
Bug 302658. r=jullien.pierre,wtchang
git-svn-id: svn://10.0.0.236/trunk@188000 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 08:43:57 +00:00
nelsonb%netscape.com
c2795a63dc
Make dbck Debug mode work with Softoken. Bug 323570. r=rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@187998 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:54:34 +00:00
nelsonb%netscape.com
c3738b9726
Don't use variables as structure initializers. Bug 274512. Fix build
...
on HPUX. r=julien.pierre,wtchang
git-svn-id: svn://10.0.0.236/trunk@187997 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:42:14 +00:00
nelsonb%netscape.com
3cc722f057
Detect certdb reference leaks at shutdown with assertions. Bug 324103.
...
r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@187996 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:36:36 +00:00
wtchang%redhat.com
c5e5443a41
Bugzilla Bug 323977: use the "mapfile" (ld version script) on FreeBSD.
...
Build the freebl shared libraries with the -Bsymbolic flag for GNU ld.
r=nelsonb. Thanks to Glenn Randers-Pehrson <glennrp@imagemagick.org> for
reporting this bug and verifying these changes.
Modified files: coreconf/FreeBSD.mk nss/lib/freebl/Makefile
git-svn-id: svn://10.0.0.236/trunk@187948 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:33:33 +00:00
nelsonb%netscape.com
40aaf20256
Plug a cert DB reference leak in softoken, related to trust objects.
...
Bug 324103, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@187945 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:23:42 +00:00
wtchang%redhat.com
e62ba399ff
Bugzilla Bug 320589: miscellaneous code cleanup: distinguish between the
...
length of the field size and the length of the base point order. Report
better error codes. In ECDSA_VerifyDigest, removed unnecessary local
variables and be lenient in the signature lengths we accept.
r=relyea,nelsonb
git-svn-id: svn://10.0.0.236/trunk@187942 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:14:46 +00:00
julien.pierre.bugs%sun.com
f7dec9cf20
Fix for bug 317856 . uninitialized variable correction. r=wtchang
...
git-svn-id: svn://10.0.0.236/trunk@187923 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 22:55:35 +00:00
nelsonb%netscape.com
d6b69e6906
Detect NULL server key pair pointer. Bug 321161. r=wtchang.
...
git-svn-id: svn://10.0.0.236/trunk@187904 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:40:21 +00:00
julien.pierre.bugs%sun.com
f6b94accfe
Fix for bug 317856 . compiler warnings in strsclnt
...
git-svn-id: svn://10.0.0.236/trunk@187862 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 00:43:23 +00:00
rrelyea%redhat.com
3df22f1c88
Bugzilla Bug 95323. Conditionally compile nsscapi.
...
r=julien
git-svn-id: svn://10.0.0.236/trunk@187832 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 19:55:28 +00:00
nelsonb%netscape.com
2cc2f6a9f7
change QA test order to be bottom-up. Bug 309412. r=jullien.pierre
...
git-svn-id: svn://10.0.0.236/trunk@187823 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 11:59:56 +00:00