Commit Graph

523 Commits

Author SHA1 Message Date
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
relyea%netscape.com
aa1093d9bf Set Root certs to be an externally loaded PKCS #11 module.
git-svn-id: svn://10.0.0.236/trunk@78289 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:10:07 +00:00
relyea%netscape.com
0eb759e538 Add code to allow Trusted root certs to come from an externally loaded
pkcs #11 module.


git-svn-id: svn://10.0.0.236/trunk@78288 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:05:57 +00:00
mcgreer%netscape.com
f0c1cf64ae private header file to talk between mpi and nss
git-svn-id: svn://10.0.0.236/trunk@78286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:46:43 +00:00
mcgreer%netscape.com
ece5abbad4 *added pqg code based on fips 186-1
*added stubs to rsa functions


git-svn-id: svn://10.0.0.236/trunk@78265 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 17:43:42 +00:00
javi%netscape.com
a4e080c7ec Use PR_MIN just in case some systems don't have a MIN macro defined.
git-svn-id: svn://10.0.0.236/trunk@78198 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:55:55 +00:00
nelsonb%netscape.com
6a5f5078f0 Force installparse.y to be rebuilt on NT.
git-svn-id: svn://10.0.0.236/trunk@78157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:42:26 +00:00
nelsonb%netscape.com
69d6089387 When building on NT for X86, use new mpi_x86.asm implementation.
git-svn-id: svn://10.0.0.236/trunk@78005 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:41:21 +00:00
nelsonb%netscape.com
666b95d6da Makefile.win - gmake Makefile for building MPI with MSVC on NT.
git-svn-id: svn://10.0.0.236/trunk@78004 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:38:51 +00:00
nelsonb%netscape.com
5c402ed899 mpi_x86.asm - assembly language implementation of s_mpv_ functions.
git-svn-id: svn://10.0.0.236/trunk@78003 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:33:15 +00:00
nelsonb%netscape.com
1832f90827 Use new assembler files.
Define MP_NO_MP_WORD on platforms that don't have 64-bit registers.


git-svn-id: svn://10.0.0.236/trunk@77972 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:40:41 +00:00
javi%netscape.com
ed7b7032ff Make the S/MIME related and Java/JS tabs stay away no matter which tab on the
left side is clicked.

Plug some more memory leaks in security advisor.


git-svn-id: svn://10.0.0.236/trunk@77957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:30:25 +00:00
javi%netscape.com
6aa5ad4dac Plug some memory leaks and always use PL_strdup instead of vanilla strdup.
git-svn-id: svn://10.0.0.236/trunk@77951 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:55:25 +00:00
javi%netscape.com
1561e6180e Assign a ** static pointer an actual value instead of just sayin *val = NULL;
git-svn-id: svn://10.0.0.236/trunk@77947 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:47:22 +00:00
javi%netscape.com
514c7cf441 Make the Messenger and Java/JavaScript persistently stay away when they
should.


git-svn-id: svn://10.0.0.236/trunk@77802 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:54:14 +00:00
javi%netscape.com
caa960e61a Make the other tab stay away even if you click on one of the other left side
tabs of the Certificates pane.


git-svn-id: svn://10.0.0.236/trunk@77799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:52:22 +00:00
javi%netscape.com
65a56ca19f Whomp the SECURITY_CLIENT_BRANCH onto the tip.
git-svn-id: svn://10.0.0.236/trunk@77779 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 18:31:28 +00:00