Commit Graph

340 Commits

Author SHA1 Message Date
mcgreer%netscape.com
eb48ab5115 signed data certs may not be set when this is called, so get certs from db. 2000-09-15 20:23:26 +00:00
mcgreer%netscape.com
38ba5d81e9 NT still buggy with password files, this seems to fix it 2000-09-15 18:45:20 +00:00
mcgreer%netscape.com
2fbeac9dd1 extra #endif broke build 2000-09-15 15:58:42 +00:00
relyea%netscape.com
902093ca00 Propogate the password arg to the sign function. 2000-09-15 15:37:37 +00:00
relyea%netscape.com
b2e3a4121c Fix NT so it can read from a password file. (do the correct EOL conversions).
Fix trust display for certs not in the database.
2000-09-15 15:35:03 +00:00
mcgreer%netscape.com
8c240e3bc8 Added function NSS_CMSSignedData_VerifyCertsOnly to API 2000-09-15 06:38:33 +00:00
wtc%netscape.com
53ade5cc44 Increase the sleep interval from 10 to 20. 2000-09-15 00:43:36 +00:00
relyea%netscape.com
f0e4984d36 Fix authentication tests so they work for both unix and NT. 2000-09-14 21:59:04 +00:00
relyea%netscape.com
d8d0892b85 Fix certutil to read Certs from PKCS #11 modules. Make the 'all' option for
modules work for ListCerts and ListKeys. Allow password from file for these
options as well.
2000-09-14 21:12:13 +00:00
nelsonb%netscape.com
4df4541965 Remove duplicate PORT_Free call. Fix bug 52633. 2000-09-14 20:25:26 +00:00
mcgreer%netscape.com
39a4425f6e fix bug where certlist was being freed after being set. 2000-09-14 17:14:44 +00:00
mcgreer%netscape.com
5aae82f29f even better fix to zero signer info issue 2000-09-14 00:33:28 +00:00
nelsonb%netscape.com
082f53f177 Eliminate extraneous "oop!" output at end of script on some platforms. 2000-09-14 00:32:24 +00:00
nelsonb%netscape.com
c4fe227bb9 Changes to make mpi use 64-bit digits on machines where unsigned longs
are 64-bits.  Renamed s_mp_invmod_32b to s_mp_invmod_radix since radix
can now exceed 32 bits.  Improved performance on all platforms except
MIPS and X86.
2000-09-14 00:31:01 +00:00
mcgreer%netscape.com
2364429bbd another instance of potentially null signerInfos being referenced 2000-09-13 22:44:28 +00:00
relyea%netscape.com
832fb5cd65 Get the pid from Selfserv itself rather than from the Shell. works around a nasty mks bug in NT. 2000-09-13 21:59:26 +00:00
relyea%netscape.com
2af7e43e7e Add option to get the server pid so we can kill the server later. 2000-09-13 21:25:13 +00:00
relyea%netscape.com
ebe4aefce6 Fix IDG build breakage on AIX (remove cast). 2000-09-13 21:15:07 +00:00
wtc%netscape.com
59aeefaf0d Get OBJDIR_NAME and OS_ARCH from the makefile as opposed to the arch.sh
script.  arch.sh should be cvs removed when we are sure about this change.
Checkin on behalf of Sonja Mirtitsch <sonmi@netscape.com>.
Modified file: init.sh
Added file: Makefile
2000-09-13 19:19:05 +00:00
mcgreer%netscape.com
bdcc2c1a39 fix incorrect buffer zero 2000-09-13 18:44:11 +00:00
mcgreer%netscape.com
4299bcbb86 fix change I made last night 2000-09-13 18:13:17 +00:00
mcgreer%netscape.com
e130c0a252 fixes RFE from bug 49316 (will test on NT before verifying) 2000-09-13 06:43:52 +00:00
mcgreer%netscape.com
3e3eee6676 attempt to fix bug 51882 (sig data w/ no signer infos) 2000-09-13 06:15:13 +00:00
relyea%netscape.com
610034d01d Fix double equal error in if statement 2000-09-13 00:21:17 +00:00
jgmyers%netscape.com
3d68e7a779 failure to save cx->i and cx->j caused second arcfour encrypt/decrypt to return garbage: bug 52192 r=mcgreer 2000-09-12 23:02:24 +00:00
mcgreer%netscape.com
4d941adcb4 leading zero problems fixed; thanks to nelsonb for pointing out that I needed mp_to_fixlen_octets 2000-09-12 20:32:43 +00:00
relyea%netscape.com
c48b4d878a pick up changes from NSS 2.8.3. Most of these changes include the changes
Nelson made in rev 1.9 and 1.10. It also include some changes that remove
inappropriate templace valuse (CKA_VALUE_LEN) in some cases. Our internal
token tolerates these values, but most tokens rightly reject requests with
these.
2000-09-12 20:29:23 +00:00
jgmyers%netscape.com
51e59fccb4 support IPv6 in ssl: bug 48657 r=nelsonb 2000-09-12 20:15:44 +00:00
nelsonb%netscape.com
71f913281c Set the CKA_VALUE attribute in pk11_ImportSymKeyWithTempl().
This is a better solution to bug 52306, because it fixes the behavior of
all the functions that unwrap and/or import sym keys.
2000-09-12 19:44:56 +00:00
wtc%netscape.com
e9a23de302 Bugzilla bug #52232: remove the yacc rule and also cancel the implicit
yacc and lex rules in the primary Makefile.  Added comments to rules.mk
explaining that Berkeley yacc should be used.
Modified files: Makefile, rules.mk
2000-09-12 18:52:57 +00:00
wtc%netscape.com
f7f49cb31e Bugzilla bug #52232: reverted to revision 1.1, which was generated
by Berkeley yacc 1.4 and hence was portable.  Revision 1.2 was
generated by the yacc in Solaris 2.6 and contained
#include <values.h>, which does not exist on NT.  Always use Berkeley
yacc (latest version is 1.9) to generate installparse.{c,h}.
Modified files: installparse.c, installparse.h
2000-09-12 14:51:06 +00:00
nelsonb%netscape.com
cac7876f1e Fix two bugs in mp_invmod: a) returned wrong result if output var is also
one of the input vars, b) sometimes returned negative answer. Added a test
case to mpi-test.c with a value that previously produced a negative answer.
2000-09-12 00:41:09 +00:00
wtc%netscape.com
d6335b8f1d Checked in Perl-generated file certdata.c. 2000-09-11 23:34:42 +00:00
relyea%netscape.com
a4e1bb6ae3 nssTracker functions should only be defined in debug builds 2000-09-11 23:27:56 +00:00
nelsonb%netscape.com
ed8cacc2c9 Stop using "reserved" fields of PRIOMethods by name. Fixes bug 52092. 2000-09-11 22:37:12 +00:00
wtc%netscape.com
7774189fb3 Bugzilla bug #52187: modified ckapi.perl to read its input from the
first command-line argument as opposed to stdin.  Checkin on behalf
of sonmi@netscape.com.
Modified files: Makefile, ckapi.perl
2000-09-11 22:37:01 +00:00
wtc%netscape.com
f4eec2de72 Bugzilla bug #52173: restored the FORCE target for NT. 2000-09-11 21:54:10 +00:00
wtc%netscape.com
43ae02ba26 Bugzilla bug #52173: accept both ytab.{c,h} and y.tab.{c,h} as the output
files of yacc.
2000-09-11 21:40:42 +00:00
mcgreer%netscape.com
fb864bbd31 fix building of ssl sample code 2000-09-11 19:06:50 +00:00
mcgreer%netscape.com
527ef9f038 initial checkin of Diffie-Hellman implementation 2000-09-11 17:11:50 +00:00
wtc%netscape.com
224864f47f Added the moz_import rule for the Windows build. 2000-09-11 15:00:22 +00:00
wtc%netscape.com
9b74802076 Added makefile.win as the interface to Mozilla Client's Win32 build
system.
2000-09-11 04:38:09 +00:00
wtc%netscape.com
9aeb25aa0d Changed the PR_GetError() call to PORT_GetError() because we use
PORT_SetError() to set error codes.
Modified files: dsa.c, rsa.c
2000-09-11 04:17:02 +00:00
nelsonb%netscape.com
cf6c8ac766 Fix a bug in pk11_HandUnwrap that made it always fail because it was not
setting the CKA_VALUE attribute.  Also, fix two places that called
PK11_MapError(crv) unnecessarily and with improper crv values.
2000-09-11 01:37:36 +00:00
nelsonb%netscape.com
d856a6e4f8 Create a new function, CERT_DupCertList(), and call it instead of calling
CERT_CertChainFromCert in ssl_DupSocket().  This is MUCH faster.  This is
the first approximation of the right fix.  The next step is to consider
doing ref counting instead of actual duplication.  Fixes bug 51425 .
2000-09-09 06:08:46 +00:00
nelsonb%netscape.com
1eac835d58 Change order of includes so this will build on NT. 2000-09-09 03:41:11 +00:00
nelsonb%netscape.com
32c1d386a9 Change order of includes, so this will build on NT. 2000-09-09 03:19:35 +00:00
wtc%netscape.com
8a2b495434 Bugzilla bug #48248: removed an extraneous declaration of putenv(). Thanks
to Steven T. Hatton <hattons@bellatlantic.net> for reporting the bug.
2000-09-09 02:25:18 +00:00
relyea%netscape.com
fb7884944f Sigh... let's compile this puppy before I check it in.... 2000-09-08 23:08:49 +00:00
relyea%netscape.com
1b9a8440af Fix Startup crash found by CPD on linux. (use the correct slot function). 2000-09-08 23:00:04 +00:00