Commit Graph

5460 Commits

Author SHA1 Message Date
nelsonb%netscape.com
db1c7e8b35 Changes to ssl_EmulateSendFile suggested by Wan-Teh.
See http://bugzilla.mozilla.org/show_bug.cgi?id=39011
2000-05-18 01:32:53 +00:00
roeber%netscape.com
7f2818aa4e Applying ancient patch to dump out extended key usage extensions 2000-05-18 01:02:40 +00:00
nelsonb%netscape.com
401cd644f6 In ssl3_GenerateSessionKeys() ensure params secitem always points to valid
CK_SSL3_MASTER_KEY_DERIVE_PARAMS structure.  Bugzilla bug 39682.
2000-05-18 00:41:38 +00:00
mcgreer%netscape.com
b5b10b72a8 allow import of NSPR and DBM from mozilla when building with BSAFE. 2000-05-17 23:19:18 +00:00
dougt%netscape.com
0b5a4259b7 Adding SIOUX event processing 2000-05-17 23:00:19 +00:00
dougt%netscape.com
d50bfdd577 Mac tweeks. 2000-05-17 22:59:40 +00:00
ddrinan%netscape.com
2daf6b93f9 Initial check-in 2000-05-17 20:26:28 +00:00
roeber%netscape.com
4c7240ff19 Detect at runtime when we're running with NSPR 1 and switch the thread-private-data calls accordingly. This lets our pkcs#11 modules be loaded into Communicator. 2000-05-17 20:19:24 +00:00
roeber%netscape.com
bbe222523a If a database has not been given a label, return the filename so Communicator has *something* to show 2000-05-17 18:28:13 +00:00
ddrinan%netscape.com
6ef9d01be0 Fixed syntax error 2000-05-17 17:46:22 +00:00
mcgreer%netscape.com
40616e7038 fix some compiler warnings 2000-05-17 17:31:20 +00:00
cotter%netscape.com
d9b9111eb1 Changes related to new UI for viewing cert chains. 2000-05-17 04:19:47 +00:00
thayes%netscape.com
4ab73df7ec Land latest SDR changes on the tip. 2000-05-17 01:20:20 +00:00
javi%netscape.com
834423c3ba Add new function for getting the version string that can be used by
Mozilla.
2000-05-17 00:17:42 +00:00
mcgreer%netscape.com
1d9865e6d7 including md2 and md5 implementations in MOZILLA_SECURITY_BUILD 2000-05-16 23:05:47 +00:00
ddrinan%netscape.com
824cb7fac1 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 21:30:23 +00:00
ddrinan%netscape.com
b586d0ec2d Fixed the release_md rule to copy the components stuff 2000-05-16 18:54:01 +00:00
ddrinan%netscape.com
bf18228ce4 Load the nlslayer/M14 from \\drinan. This is temporary 2000-05-16 18:47:22 +00:00
ddrinan%netscape.com
3c4469b2f9 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 18:30:55 +00:00
mcgreer%netscape.com
978cc868ef Performance enhancements for md5 implementation.
+ unroll a loop in md5_compress
+ remove a superfluous variable
2000-05-16 18:18:39 +00:00
relyea%netscape.com
3d81202616 Add a mini-framework to allow us to test NSS releases without using tet. 2000-05-16 17:50:52 +00:00
relyea%netscape.com
984310dddf Change the attribute allocation scheme to a fixed array in the object. 2000-05-16 17:40:22 +00:00
relyea%netscape.com
0430e9e67e Add SSL and TLS to the slotlist search functions 2000-05-16 17:37:10 +00:00
relyea%netscape.com
a46662c0d0 1) performance changes.
a) do C_Decrypt in the handUnwrap case on it's own session so we don't
 single thread through the code.
	b) reuse the session created for the symKey when importing the key from data.

2) robustness changes.
	a) try different ways of getting the signature length if non-complient
 tokens don't present the modulus to us.
	b) Recover from state buffers changing sizes on us in the middle of
GetOperationState().
2000-05-16 17:36:24 +00:00
relyea%netscape.com
9da670d592 Only output caching if we turn tracing on. 2000-05-16 17:28:31 +00:00
relyea%netscape.com
edb6ec0cf5 Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.
2000-05-16 17:27:29 +00:00
relyea%netscape.com
673272c023 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites
2000-05-16 17:25:42 +00:00
roeber%netscape.com
3cb835685f sync the database after writes 2000-05-16 01:55:20 +00:00
roeber%netscape.com
4c6e020a10 Properly deregister shadow objects of session objects 2000-05-16 01:54:46 +00:00
mcgreer%netscape.com
97c5e2820b In BSAFE build, libfreebl.a has symbols needed by libbsafe.a (memory management). 2000-05-16 00:18:51 +00:00
mcgreer%netscape.com
36eabb038c reordered libraries for builds 2000-05-15 22:59:12 +00:00
dougt%netscape.com
c735175065 Adding nsString and friends so that people can link against us without XPCOM until runtime. 2000-05-15 21:00:52 +00:00
roeber%netscape.com
4b1bc871db Store object contents in network byte order, for database portability 2000-05-15 20:59:11 +00:00
roeber%netscape.com
84d6e244cd Use the public (cap-NSS) mutex calls, not the private ones 2000-05-15 20:58:19 +00:00
dougt%netscape.com
23147eed0c Updating project to build with standalone nlsLayer. 2000-05-15 20:56:30 +00:00
mcgreer%netscape.com
6342624688 Changed DestroyContext functions so that freeit means free everything or free nothing, not just the context pointer. 2000-05-15 20:54:35 +00:00
roeber%netscape.com
d46ea0e2c3 First checkin of database module 2000-05-15 20:39:58 +00:00
dougt%netscape.com
fe806465e1 First Checked In. 2000-05-15 19:59:01 +00:00
ddrinan%netscape.com
c61f315ca3 Put nls layer into a separate static library 2000-05-13 03:27:53 +00:00
ddrinan%netscape.com
e4d8ed38e4 Initial checkin 2000-05-13 03:12:20 +00:00
mcgreer%netscape.com
50cdc7829c Add condition for BSAFE build. 2000-05-12 23:37:36 +00:00
mcgreer%netscape.com
0d6b5ee3a6 Initial checkin of implementations of MD2 and MD5. An empty definition of Diffie-Hellman to allow for building, more later. Changes to Makefile for building with BSAFE. 2000-05-12 23:35:06 +00:00
dougt%netscape.com
a7f5af25b4 Fixes to make Mac work. 2000-05-12 19:58:37 +00:00
dougt%netscape.com
f4172ca6e2 First Checked In. 2000-05-12 19:57:18 +00:00
dougt%netscape.com
cbeec451ee Fix to make compile on Mac. 2000-05-12 19:57:00 +00:00
dougt%netscape.com
c16d114409 Fixes to make Mac compile. 2000-05-12 19:51:52 +00:00
dougt%netscape.com
4759075517 Changes make project use static crypto lib. 2000-05-12 18:55:31 +00:00
dougt%netscape.com
7dc028cf1e Minor changes to fix mac build bustages. 2000-05-12 18:43:28 +00:00
ddrinan%netscape.com
bed28e3d3f No longer use obscuring layer from protocol 2000-05-12 03:18:09 +00:00
ddrinan%netscape.com
846620ce5b No longer build or export obscuring stuff 2000-05-12 03:17:08 +00:00
thayes%netscape.com
d1e4df651d Merge changes from SDR_BRANCH.
Add more SDR features, and provide compatibility between older PSM servers
and this client library.
2000-05-11 01:49:15 +00:00
ddrinan%netscape.com
a3906c1bc6 Link xpcom dynamically for Solaris and HP-UX 2000-05-10 00:01:29 +00:00
ddrinan%netscape.com
3f8361f0a3 Fixed NSPR library typos for Solaris 2000-05-09 23:14:07 +00:00
ddrinan%netscape.com
1ecaa5797f I18N include should be lower case 2000-05-09 22:07:05 +00:00
ddrinan%netscape.com
a53dbf95b8 Added import for I18N headers and libraries 2000-05-09 22:06:01 +00:00
roeber%netscape.com
6416a1bd38 Adding CK_USHORT back in, for pedantic tests' sake 2000-05-09 18:57:58 +00:00
roeber%netscape.com
21d2b28567 Backing out accidental (recursive) commit 2000-05-09 18:35:24 +00:00
roeber%netscape.com
28dc429127 Added ckmd.h to private exports list 2000-05-09 18:31:16 +00:00
ddrinan%netscape.com
535e326854 Fixed some comments 2000-05-09 18:24:35 +00:00
ddrinan%netscape.com
2d72f7886b Added newline to end of file 2000-05-09 02:20:54 +00:00
ddrinan%netscape.com
8dad32f248 Fix up manifest 2000-05-09 01:36:43 +00:00
ddrinan%netscape.com
16a1d0a19a Adding Makefile to build in Mozilla 2000-05-09 01:35:54 +00:00
ddrinan%netscape.com
ff30abf69c Fixed up manifest 2000-05-09 01:31:07 +00:00
thayes%netscape.com
007c2f07b7 Add makefile to the tip 2000-05-09 01:30:38 +00:00
ddrinan%netscape.com
ff32de2c09 Adding Makefile to build this in Mozilla 2000-05-09 01:30:31 +00:00
ddrinan%netscape.com
33cfed1efb Fixed typo for NSPR import for Solaris 2.5.1 2000-05-09 00:47:19 +00:00
ddrinan%netscape.com
1ec2a49049 Fix for Solaris 2.5.1 2000-05-09 00:33:13 +00:00
ddrinan%netscape.com
77b0467a2c Get NSPR 4.0 for Solaris 2.5.1 2000-05-09 00:06:35 +00:00
nelsonb%netscape.com
e65d9f2223 Small optimization for RSA Server Key exchange message. Uses fewer PK11_
calls to do the job. Also, plug one mem leak in Fortezza code.
2000-05-08 23:55:05 +00:00
roeber%netscape.com
93ef5fd122 Initial checkin of an simple module-excercise program 2000-05-08 23:19:45 +00:00
nelsonb%netscape.com
64d442182a Several fixes. Builds on WIN32. Prints Usage when invalid syntax. 2000-05-08 23:13:10 +00:00
mcgreer%netscape.com
48ae0ebe61 change to comment text 2000-05-05 00:50:38 +00:00
mcgreer%netscape.com
3e2a298606 Code to provide hooks to RSA's BSAFE licensed code. 2000-05-04 21:58:18 +00:00
ddrinan%netscape.com
3a05765647 Remove special import for Solaris 2.5.1 2000-05-04 21:48:43 +00:00
ddrinan%netscape.com
69a4fa9208 Build NSS before building PSM 2000-05-04 21:30:45 +00:00
ddrinan%netscape.com
2ca53e522d Fixed typo in nss gmake 2000-05-04 20:58:44 +00:00
ddrinan%netscape.com
7bafb59ea8 Initial revision 2000-05-04 20:40:41 +00:00
thayes%netscape.com
441820f1c8 Add makefiles to tip for psm library builds 2000-05-03 18:09:53 +00:00
thayes%netscape.com
bd0caf91ab Fix LDAPSDK include path to allow locally installed sdk 2000-05-02 21:55:10 +00:00
thayes%netscape.com
1a5ca5b2e8 Copy nspr libraries into platform build directory to allow running without library path
setup.
2000-05-02 00:38:11 +00:00
mwelch%netscape.com
6fa77f4c37 Applying Mac changes 2000-04-28 09:35:09 +00:00
mwelch%netscape.com
2c79f59ddf Adding Mac build information. Project file is merely a placeholder right now; serious work remains to be done here. 2000-04-28 09:28:54 +00:00
mwelch%netscape.com
6556ee4eaf Adding Mac files, primarily as placeholders 2000-04-28 09:14:36 +00:00
javi%netscape.com
d05124301e Only add the hot link on cert windows if the target for the HTTP request
is a certificate resource.
2000-04-27 01:08:19 +00:00
javi%netscape.com
a37bce4efd Whomping my changes for imporoved cert UI and cert lookup over LDAP onto
mozilla.

Make P12 unicode conversion switch bytes to Network Byte Order.  Mozilla
localization doesn't do that for us.
2000-04-27 00:03:33 +00:00
javi%netscape.com
84993d6fb3 Automaticallly pre-select all e-mail addresses that the user doesn't have. 2000-04-26 23:59:14 +00:00
javi%netscape.com
51251ae54a Trim down the number of libraries we link against. 2000-04-26 23:55:52 +00:00
javi%netscape.com
9c7b1f46e3 Add spiffy new UI for cert viewing. Let's you walk the chain. Also
enhancements to search look up through LDAP.
2000-04-26 23:53:51 +00:00
javi%netscape.com
39d22c8ce6 coreconf lives in a new directory now. 2000-04-26 23:51:47 +00:00
javi%netscape.com
10b8991563 Add a file that can pretty print DER blobs. 2000-04-26 21:39:28 +00:00
ddrinan%netscape.com
3fb0f41fe2 Changes for the NSS coreconf landing 2000-04-26 21:17:32 +00:00
ddrinan%netscape.com
a3112b1349 Initial checkin 2000-04-26 21:17:02 +00:00
ddrinan%netscape.com
a6ee827e1b Initial checkin 2000-04-26 20:06:16 +00:00
ddrinan%netscape.com
af2076e505 First cut of makefile. 2000-04-26 20:02:05 +00:00
mwelch%netscape.com
e31a4be4aa Bringing tip of PSM client lib up to date with changes from commercial tip 2000-04-25 02:57:11 +00:00
mwelch%netscape.com
30dd1a6916 Bringing tip of PSM client lib up to date with commercial version 2000-04-25 02:55:21 +00:00
mwelch%netscape.com
c4913ec571 Bringing client lib up to date 2000-04-25 02:53:28 +00:00
mwelch%netscape.com
0c4625b3df Bringing tip of PSM client library up to date 2000-04-25 02:49:38 +00:00
thayes%netscape.com
bb86f0f2f9 Merge build fix from M14 branch 2000-04-21 21:18:51 +00:00
thayes%netscape.com
d0def2d28c Add decryption functions for SDR. Add SDR to UNIX builds. 2000-04-20 23:00:39 +00:00
roeber%netscape.com
739f76548f Getting session objects working. 2000-04-20 03:14:47 +00:00
roeber%netscape.com
93897a83fe Wait a minute, I was right the first time: I don't need to worry about
endianness, that's a display problem.
2000-04-19 22:07:09 +00:00
roeber%netscape.com
db07e9f9cf Multiple changes to get the cryptoki framework and builtin-object
module working:  1) C_GetFunctionList is always present; 2) fwObject
and fwSession now remember their handles on behalf of the fwInstance;
3) fwSessions are created before mdSessions, so the mdSession can
use the fwSession's arena; 4) finished implementing findObjects;
5) builtin constants are in network byte order; 6) libnssckbi.so
knows about and can pull in its dependencies (e.g. libnssckfw.so,
libnssb.so, and NSPR).
2000-04-19 21:32:38 +00:00
roeber%netscape.com
c71276e88d I missed a couple usages of nssUTF8_Size when its signature changed.
Also made a pedantic check #ifdef PEDANTIC.
2000-04-19 21:24:57 +00:00
roeber%netscape.com
c7ce07669f Free from the beginning of the real block pointer, not the user's pointer. 2000-04-19 21:23:13 +00:00
thayes%netscape.com
99d8d3606f Add initial cmtsdr.c file for SDR implementation from M14 branch 2000-04-19 01:43:29 +00:00
thayes%netscape.com
7fb01a452d Merge changes for SDR encrypt and decrypt from M14 branch 2000-04-19 01:38:04 +00:00
thayes%netscape.com
84afb4c959 Add protocol opcodes for SDR encrypt and decrypt 2000-04-19 01:29:56 +00:00
ddrinan%netscape.com
a3c4c7bf84 Initial check in PSM docs 2000-04-12 01:19:11 +00:00
ddrinan%netscape.com
f2f9bda8ae Initial checkin of the PSM server 2000-04-12 00:15:15 +00:00
ddrinan%netscape.com
77f8a8b6ac Initial checkin of the PSM server 2000-04-12 00:05:55 +00:00
ddrinan%netscape.com
14bd6b1e86 Initial check-in PSM UI files 2000-04-11 23:54:23 +00:00
nelsonb%netscape.com
967ed46e9f This file was not the source authorized by Paul Kocher of Cryptography
Research Inc for release on Mozilla.  It has been replaced by sha_fast.c.
2000-04-07 02:24:57 +00:00
nelsonb%netscape.com
81f283c678 Switch freebl to use the sha1 sources authorized by Paul Kocher of
Cryptography Research Inc.
2000-04-07 02:22:47 +00:00
nelsonb%netscape.com
2554f98616 Make additional performance improvements, especially for big endian CPUs. 2000-04-07 01:14:06 +00:00
nelsonb%netscape.com
25f97cee57 Detect failure of NSS_Init. 2000-04-06 23:02:44 +00:00
repka%netscape.com
9501e89926 Put "btoa" back into the built directories, since the underlying code
is now available in nss/lib.
2000-04-06 22:45:50 +00:00
repka%netscape.com
6f4b665973 Build new base64 encoder implementation. 2000-04-06 22:41:21 +00:00
repka%netscape.com
80689ecb46 Removed BTOA_ConvertItemToAscii (now defined in nssb64e.c, using new
base64 encoder implementation).
2000-04-06 22:38:27 +00:00
nelsonb%netscape.com
082f19af2f Convert to BLAPI interface. Make very minor optimizations. 2000-04-06 06:07:37 +00:00
nelsonb%netscape.com
6ad931fad9 Check in original SHA implementation sources on behalf of Paul Kocher Cryptography Research, Inc. paul@cryptography.com 2000-04-06 02:48:30 +00:00
repka%netscape.com
355556a555 Fixed some typos and inconsistencies. 2000-04-06 00:42:49 +00:00
repka%netscape.com
97cb8bcf38 First cut at replacement for base64 encoder. 2000-04-06 00:39:49 +00:00
repka%netscape.com
73b70ac5a7 - Added an error check and comment complementary to thayes's previous change
(same as I had already made in my version, but he beat me to checking it in).
- Some miscellaneous clean-up (typos, really).
2000-04-06 00:38:12 +00:00
thayes%netscape.com
48f0c9789e Initialize SECItem values in ATOB_ routines to avoid PR_Assert for previously
allocated data buffers in the NSS versions of these routines.
2000-04-06 00:26:24 +00:00
thayes%netscape.com
915877263f Change handling of hash table for OSCP hashes to delete both hash key and
associated value in the hashtable "free entry" routine.  Fixes a memory leak.
(Re Netscape bug: 390117)
2000-04-06 00:24:43 +00:00
repka%netscape.com
f852f35853 Add a trailing CRLF; the encoder doesn't. 2000-04-06 00:15:54 +00:00
nelsonb%netscape.com
8499f9c677 Change definition of $FILES. Don't include contents of CVS subdirectory. 2000-04-05 01:11:53 +00:00
relyea%netscape.com
a3332a7b7f Make the stub sytem work for WIN NT as well as other unix platforms:
1) fix compile issue in the stub maci.c file (change dllimports to dllexports).
	2) build a dll with matching lib to make the symbols all work.
2000-04-04 23:49:50 +00:00
roeber%netscape.com
ce5fd5acf0 Added a comment to the PORT character-conversion routines about
network byte order.
2000-04-04 18:27:34 +00:00
roeber%netscape.com
0f208ea997 Make the conversion routines handle network byte order, not host byte order. 2000-04-04 02:36:46 +00:00
relyea%netscape.com
0633919690 Use NSINSTALL instead of symbolic links so crypto works on NT builds as well. 2000-04-03 22:28:49 +00:00
roeber%netscape.com
f59f634fdf typo I missed from last may 2000-04-03 21:58:53 +00:00
roeber%netscape.com
78c1cb10f0 the license boilerplate whompage induced a compile-blocking typo 2000-04-03 21:58:34 +00:00
relyea%netscape.com
cf7b7608db Update makefiles so NT will build. (and other platforms that don't have symbolic links) 2000-04-03 21:41:33 +00:00
mcgreer%netscape.com
84d9905156 Initial checkin of sslstrength/ssltelnet source. 2000-04-03 20:31:05 +00:00
mcgreer%netscape.com
dbe48be092 Initial checkin of signver source. 2000-04-03 20:24:02 +00:00
mcgreer%netscape.com
8c34a18c15 Initial checkin of signver source. 2000-04-03 20:15:57 +00:00
mcgreer%netscape.com
1f7ca7b2cb Initial checkin of signtool source. 2000-04-03 19:08:51 +00:00
mcgreer%netscape.com
725d3b78b6 Initial checkin of pk12util source. 2000-04-03 18:56:53 +00:00
mwelch%netscape.com
40ed12aead Removed trailing tab for ppc platform def 2000-04-02 08:05:44 +00:00
relyea%netscape.com
6836d54003 Remove modutil until we can fix a build problem. 2000-03-31 20:59:58 +00:00
relyea%netscape.com
5ff98f3f5a Adjust jzlib.h acquired for zlib.h to it builds in the .jar file.
Add define in manistet to make it work.
2000-03-31 20:56:10 +00:00
relyea%netscape.com
aee558bb8c Source doesn't setup DIST, it sets up SOURCE! 2000-03-31 20:53:47 +00:00
relyea%netscape.com
a86f4bbdb8 remove an incorrectly checked in file 2000-03-31 20:50:44 +00:00
relyea%netscape.com
477a06c7b1 Create the Security link correctly. 2000-03-31 20:48:55 +00:00
relyea%netscape.com
9fd7059a19 Initial NSS Open Source checkin 2000-03-31 20:13:40 +00:00
relyea%netscape.com
8c4b7edd1d Initial NSS Open Source Checkin 2000-03-31 19:16:26 +00:00
relyea%netscape.com
3302748a42 Initial NSS Open source checkin 2000-03-31 19:14:40 +00:00
relyea%netscape.com
c52dab758c Initial checkin of the NSS build environment for the open source release 2000-03-31 18:56:07 +00:00
mwelch%netscape.com
053e176882 Fixing a bunch of warnings 2000-03-22 05:43:42 +00:00
mwelch%netscape.com
9d573a5db9 Applied client lib changes from PSM101Mac_BRANCH on commercial tree 2000-03-22 00:03:36 +00:00
mwelch%netscape.com
800750fd72 Applied changes from M14 branch 2000-03-21 23:31:45 +00:00
mwelch%netscape.com
c3a208c9b6 removed Makefiles 2000-03-21 23:03:18 +00:00
mwelch%netscape.com
42008b9ba6 removed Makefile 2000-03-21 23:02:14 +00:00
sfraser%netscape.com
cae00f7fa3 First Checked In. 2000-03-21 02:45:38 +00:00
Jerry.Kirk%Nexwarecorp.com
da2794386a Removing "#include <sys/un.h>" because it is not present under Neutrino
and VMS and it does not appear to be needed either.
r=colin,cls
2000-03-13 13:03:52 +00:00
mwelch%netscape.com
f803349f18 First checkin 2000-03-01 02:02:14 +00:00
mwelch%netscape.com
0caed44b7a Fixing makefiles with shaver's tarball 2000-03-01 01:22:44 +00:00
mwelch%netscape.com
94700ac67a First checkin of PSM client libs 2000-03-01 00:43:41 +00:00