539 Commits

Author SHA1 Message Date
wtc%netscape.com
ae3992fc81 Checked in Perl-generated file certdata.c.
git-svn-id: svn://10.0.0.236/trunk@78800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:34:42 +00:00
relyea%netscape.com
afb9228625 nssTracker functions should only be defined in debug builds
git-svn-id: svn://10.0.0.236/trunk@78798 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:27:56 +00:00
nelsonb%netscape.com
e7e7ab52c1 Stop using "reserved" fields of PRIOMethods by name. Fixes bug 52092.
git-svn-id: svn://10.0.0.236/trunk@78790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:37:12 +00:00
wtc%netscape.com
77dc2b5cf6 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


git-svn-id: svn://10.0.0.236/trunk@78789 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:37:01 +00:00
wtc%netscape.com
f2d8337454 Bugzilla bug #52173: restored the FORCE target for NT.
git-svn-id: svn://10.0.0.236/trunk@78775 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:54:10 +00:00
wtc%netscape.com
7fc1d2ae48 Bugzilla bug #52173: accept both ytab.{c,h} and y.tab.{c,h} as the output
files of yacc.


git-svn-id: svn://10.0.0.236/trunk@78771 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:40:42 +00:00
mcgreer%netscape.com
170a3660b2 fix building of ssl sample code
git-svn-id: svn://10.0.0.236/trunk@78746 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:06:50 +00:00
mcgreer%netscape.com
754dce8c56 initial checkin of Diffie-Hellman implementation
git-svn-id: svn://10.0.0.236/trunk@78741 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 17:11:50 +00:00
wtc%netscape.com
7152689eba Backed out the previous checkin. I found another solution.
git-svn-id: svn://10.0.0.236/trunk@78737 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 15:01:04 +00:00
wtc%netscape.com
aa8ab1d7fb Added the moz_import rule for the Windows build.
git-svn-id: svn://10.0.0.236/trunk@78736 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 15:00:22 +00:00
wtc%netscape.com
46ba1ec444 Added makefile.win as the interface to Mozilla Client's Win32 build
system.


git-svn-id: svn://10.0.0.236/trunk@78715 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:38:09 +00:00
cotter%netscape.com
f93a3154b7 Fixed two typos, deleted obsolete link.
git-svn-id: svn://10.0.0.236/trunk@78714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:35:03 +00:00
wtc%netscape.com
766f705977 Changed the PR_GetError() call to PORT_GetError() because we use
PORT_SetError() to set error codes.
Modified files: dsa.c, rsa.c


git-svn-id: svn://10.0.0.236/trunk@78713 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:17:02 +00:00
wtc%netscape.com
6daa362b98 Added mozilla/dist/include to INCLUDES because Mozilla's WIN32 build
has changed to export headers to that directory, so nss needs to get
the dbm headers (e.g., mcom_db.h) from there.  We should think about
what is the best long term solution to this problem (where to export
and get headers).


git-svn-id: svn://10.0.0.236/trunk@78709 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:39:55 +00:00
wtc%netscape.com
736f7d4b6c Added config file for WINNT 5.0 (Windows 2000).
git-svn-id: svn://10.0.0.236/trunk@78707 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:08:40 +00:00
nelsonb%netscape.com
1c5293d81e 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.


git-svn-id: svn://10.0.0.236/trunk@78699 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 01:37:36 +00:00
nelsonb%netscape.com
819d88d496 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 .


git-svn-id: svn://10.0.0.236/trunk@78596 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:08:46 +00:00
nelsonb%netscape.com
8ec8705f0d Change order of includes so this will build on NT.
git-svn-id: svn://10.0.0.236/trunk@78574 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 03:41:11 +00:00
nelsonb%netscape.com
d97e985960 Change order of includes, so this will build on NT.
git-svn-id: svn://10.0.0.236/trunk@78573 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 03:19:35 +00:00
wtc%netscape.com
cbc82dc7ae Bugzilla bug #48248: removed an extraneous declaration of putenv(). Thanks
to Steven T. Hatton <hattons@bellatlantic.net> for reporting the bug.


git-svn-id: svn://10.0.0.236/trunk@78571 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:25:18 +00:00
ddrinan%netscape.com
776a15c26b Fixed OBJDIR_NAME problem with nspr for Linux and Solaris
git-svn-id: svn://10.0.0.236/trunk@78559 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:53:00 +00:00
relyea%netscape.com
2c944665b2 Sigh... let's compile this puppy before I check it in....
git-svn-id: svn://10.0.0.236/trunk@78538 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:08:49 +00:00
relyea%netscape.com
06a7d511c9 Fix Startup crash found by CPD on linux. (use the correct slot function).
git-svn-id: svn://10.0.0.236/trunk@78536 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:00:04 +00:00
relyea%netscape.com
96718d6193 Fix bug where cached keys were keeping around dead sessions.
git-svn-id: svn://10.0.0.236/trunk@78535 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:59:06 +00:00
mcgreer%netscape.com
221850cdc3 fix bugs where some nss code expects leading 0's (once used for signs). allows pkcs11 pairwise consistency check to operate correctly.
git-svn-id: svn://10.0.0.236/trunk@78529 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:41:51 +00:00
ddrinan%netscape.com
4a36b6b720 Build coreconf
git-svn-id: svn://10.0.0.236/trunk@78525 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:05:00 +00:00
javi%netscape.com
151365444a Whomp the MAC_SECURITY_BRANCH onto the tip.
git-svn-id: svn://10.0.0.236/trunk@78521 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:42:11 +00:00
ddrinan%netscape.com
edf578a6c9 Build NSPR as part of PSM build
git-svn-id: svn://10.0.0.236/trunk@78520 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:32:04 +00:00
ddrinan%netscape.com
e327fc2f1a ui and doc directories are now under psmdata
git-svn-id: svn://10.0.0.236/trunk@78475 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:04:05 +00:00
ddrinan%netscape.com
705d584ea6 Install PSM in the same directiry as mozilla
git-svn-id: svn://10.0.0.236/trunk@78474 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:03:11 +00:00
ddrinan%netscape.com
7eea95657f Move ui and doc directories under psmdata and do not copy NSPR, XPCOM and components into the xpi file
git-svn-id: svn://10.0.0.236/trunk@78473 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:01:42 +00:00
wtc%netscape.com
158ed80c03 gcc does not recognize the -xchip=ultra2 option on Solaris/Sparc.
git-svn-id: svn://10.0.0.236/trunk@78459 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:05:23 +00:00
wtc%netscape.com
2a8bb155b4 Fixed the relative paths in the symlinks created by the moz_import target.
git-svn-id: svn://10.0.0.236/trunk@78457 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:52:35 +00:00
mcgreer%netscape.com
f9125f6e4e make compare_key do something (even if it will go away soon)
git-svn-id: svn://10.0.0.236/trunk@78436 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:18:40 +00:00
nelsonb%netscape.com
cfae88ef1d If an application calls SSL_SetURL on an NSPR FD that has NOT had SSL
"imported" into it, SSL_SetURL will crash.  This change fixes that.


git-svn-id: svn://10.0.0.236/trunk@78407 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:01:48 +00:00
javi%netscape.com
ae87ca3fd1 Update the packages up for nlslayer import on tortoise
git-svn-id: svn://10.0.0.236/trunk@78406 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:53:05 +00:00
mcgreer%netscape.com
dfaeddc2f4 first draft of rsa CRT decryption
git-svn-id: svn://10.0.0.236/trunk@78395 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 16:29:23 +00:00
relyea%netscape.com
119ba01a84 Add definitions for the nssCKFWMechanism functions.
Add definitions to stub out the NSPR functions.


git-svn-id: svn://10.0.0.236/trunk@78394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 16:07:03 +00:00
mcgreer%netscape.com
0b50652cfb separate keygen from primegen, to facilitate testing (by using the self-test key from blapitest). using this verified the keygen process (against that self-test, anyway). leaving a testing function in temporarily.
git-svn-id: svn://10.0.0.236/trunk@78357 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:33:34 +00:00
mcgreer%netscape.com
721096e8d8 fix bad change made in keygen
git-svn-id: svn://10.0.0.236/trunk@78353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:44:57 +00:00
nelsonb%netscape.com
5cd746d35d Attempt to prevent certain NSS internal error codes from being seen by
applications that use SSL sockets.  These include:
SEC_ERROR_EXTENSION_NOT_FOUND and SSL_ERROR_SESSION_NOT_FOUND


git-svn-id: svn://10.0.0.236/trunk@78330 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:35:31 +00:00
mcgreer%netscape.com
b7ad957b2f call extended euclidean algorithm directly instead of using mp_invmod
git-svn-id: svn://10.0.0.236/trunk@78328 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:14:16 +00:00
nelsonb%netscape.com
ed9c8d8e32 Remove PQG_DestroyParams(), PQG_DestroyVerify from pqg.c because they
duplicate the functions in lib/util/pqgutil.c.  Also, the functions in
pqgutil correctly handle the case where the Params or Verify was
constructed without an arena (a fact which is now more obvious when
reading the code there).


git-svn-id: svn://10.0.0.236/trunk@78320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:24:52 +00:00
nelsonb%netscape.com
0148a21d95 Effectively remove all the code that uses RC5 from the software token
by surrounding it with #if NSS_SOFTOKEN_DOES_RC5


git-svn-id: svn://10.0.0.236/trunk@78318 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:17:00 +00:00
mcgreer%netscape.com
937ef7e982 first draft of rsa public key op (tested against blapi self-test)
git-svn-id: svn://10.0.0.236/trunk@78314 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:58:41 +00:00
nelsonb%netscape.com
b0fdd401b6 Uncouple the definition of MOZILLA_SECURITY_BUILD from the location of
the "dist" directory used in the NSS build.  MOZILLA_SECURITY_BUILD is
now only useful for iPlanet internal builds, and is not needed by anyone
else.


git-svn-id: svn://10.0.0.236/trunk@78311 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:33:27 +00:00
mcgreer%netscape.com
d2489ebd2b first draft of rsa keygen
secmpi.h is defines used by nss code calling mpi


git-svn-id: svn://10.0.0.236/trunk@78308 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:27:34 +00:00
relyea%netscape.com
df2570334f Add the base and pkcs11 framework to the builds.
git-svn-id: svn://10.0.0.236/trunk@78298 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:24:48 +00:00
relyea%netscape.com
6b004dc06d Make the framework compile with the rest of NSS.
Include a 'live' certdata.txt with those certs we have permission to push to
open source (additional certs will be added as we get permission from the
owners).


git-svn-id: svn://10.0.0.236/trunk@78297 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:24:00 +00:00
relyea%netscape.com
c47f3ffafd Changes to make base code compile in the current nss environment. This is so
the pkcs framework can use it.


git-svn-id: svn://10.0.0.236/trunk@78290 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:11:57 +00:00