Commit Graph

963 Commits

Author SHA1 Message Date
mcgreer%netscape.com
dcf2480ab4 add support for AES
reduce compiler warnings
2001-01-05 22:38:50 +00:00
mcgreer%netscape.com
ec87616c36 widespread changes to reduce compiler warnings. liberal application of const. 2001-01-05 22:37:50 +00:00
wtc%netscape.com
af6f7dd1b8 Call NSS_Init() to initialize NSS. It's not necessary to call PR_Init()
because NSPR is implicitly initialized.
2001-01-05 21:14:47 +00:00
javi%netscape.com
c744ed4cbd Correct spelling mistake.
r=javi,scc,hwaara@chello.se sr=brendan

(I'm checking this in for original reporter of Bug 63122.)
2001-01-05 03:26:41 +00:00
wtc%netscape.com
119735b937 Bugzilla bug #64261: moved certread.c from lib/certhigh to lib/pkcs7.
As a result of this move I have to export one more data symbol
(SECAnyTemplate) from libnss3.so. :(  Removed the temporary workaround
in coreconf/rules.mk.
Modified Files:
	coreconf/rules.mk nss/lib/certhigh/manifest.mn
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/pkcs7/manifest.mn
Added Files:
	nss/lib/pkcs7/certread.c
Removed Files:
	nss/lib/certhigh/certread.c
2001-01-05 02:18:55 +00:00
nelsonb%netscape.com
1311ab52d4 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.
2001-01-05 01:38:26 +00:00
wtc%netscape.com
4e87e7fbbf Bugzilla bug #64261: moved pkcs7 from libnss3.so back to libsmime3.so.
coreconf/rules.mk has a temporary workaround for the dependency of
certread.c on some PKCS7 symbols.
Modified Files:
	coreconf/rules.mk nss/lib/manifest.mn nss/lib/nss/config.mk
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/smime/config.mk nss/lib/smime/mapfile
	nss/lib/smime/smime.def
2001-01-04 21:33:06 +00:00
wtc%netscape.com
71a2d8ca02 Include secder.h for the declaration of the DER_UTCDayToAscii functions. 2001-01-04 19:14:45 +00:00
nelsonb%netscape.com
97cc48fda6 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.
2001-01-04 08:21:15 +00:00
wtc%netscape.com
6548194a37 Removed unnecessary inclusion of secder.h. (The #include "secder.h"
in cms.h was probably cut and pasted from secpkcs7.h, which was added
in rev. 1.3 of secpkcs7.h in the Netscape internal /m/src cvs repository
in 11/1996.)
Modified files: secpkcs7.h, cms.h
2001-01-04 06:02:43 +00:00
wtc%netscape.com
4c72980500 Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h.  Some files now need to
include <errno.h>.  They were including <errno.h> indirectly through
mcom_db.h.
Modified Files:
	cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c
	lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h
	lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c
2001-01-04 00:44:30 +00:00
wtc%netscape.com
3f770a36f6 Have lib/fortcrypt/Makefile and lib/fortcrypt/swfort/pkcs11/Makefile
include the local config.mk file so that libfort.a and libswft.a don't
get built.
2001-01-03 23:49:48 +00:00
larryh%netscape.com
c94eecfbf1 Bugzilla: 64132. NSS lock contention 2001-01-03 20:54:29 +00:00
larryh%netscape.com
351f30a205 Bugzilla: 64132. NSS lock instrumentation 2001-01-03 19:51:22 +00:00
larryh%netscape.com
ef56557ca6 Bugzilla: 64132 2001-01-03 01:39:43 +00:00
wtc%netscape.com
1e4d956b10 Added the LIBRARY statements to the .DEF files.
Modified files: nss.def, smime.def, and ssl.def.
2001-01-03 01:31:10 +00:00
wtc%netscape.com
f3840a0b6e Deleted an unnecessary blank line. 2001-01-03 00:59:09 +00:00
kirke%netscape.com
ddb4ac045d Made argument processing more robust (ala stresclnt.c). We now detect
and fail when something on the command line is not recognized.  Also
exiting with distinct status values for all error conditions (previously
we always exited with '1').
2001-01-02 22:19:55 +00:00
mcgreer%netscape.com
2266954d60 fix problem in decrypt 2001-01-02 16:57:47 +00:00
nelsonb%netscape.com
dfe078513f Don't build libfreebl_*_3.a . Just build the .so's. 2000-12-29 23:21:51 +00:00
nicolson%netscape.com
da8c64f02e bye bye tabs, hello spaces. 2000-12-29 21:11:21 +00:00
wtc%netscape.com
834024acf7 Bugzilla bug #63891: added support for Linux on sparc and sparc64.
The patch is provided by Christopher Blizzard <blizzard@mozilla.org>.
2000-12-29 19:35:53 +00:00
wtc%netscape.com
ed14a2aca7 Use mapfiles when building the nss, smime, and ssl shared libraries on
Solaris and Linux.
Modified files: nss/config.mk smime/config.mk ssl/config.mk
2000-12-29 07:13:20 +00:00
wtc%netscape.com
4f92128074 Added mapfiles for libnss3.so, libsmime.so, and libssl3.so. The linkers
on Solaris and Linux support mapfiles (also called version scripts).
Added Files:
    nss/mapfile smime/mapfile ssl/mapfile
2000-12-29 06:07:06 +00:00
wtc%netscape.com
a8c1709124 Removed five symbols that shouldn't be exported. 2000-12-29 03:58:40 +00:00
wtc%netscape.com
3e8962790f I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
2000-12-29 02:50:16 +00:00
wtc%netscape.com
f77af3ca2a I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
Modified Files:
    coreconf/rules.mk nss/lib/nss/config.mk
    nss/lib/smime/config.mk nss/lib/ssl/config.mk
2000-12-29 02:47:16 +00:00
cotter%netscape.com
0bca075256 Fixed broken graphics links. 2000-12-29 01:32:26 +00:00
wtc%netscape.com
55b90127c0 Fixed copyright years. This file was created and published in 2000. 2000-12-29 01:20:24 +00:00
wtc%netscape.com
007933d882 Built nss3.dll, smime3.dll, and ssl3.dll on Windows. Note that we do
not want the "32" in the DLL names that coreconf adds by default.  We
use module-definition (.DEF) files to control the exported symbols.
Made pkcs7 part of nss3.dll to temporarily work around circular dependency
between nss3.dll and smime3.dll (certread.c depends on some PKCS7 symbols).
Modified files: lib/nss/config.mk, lib/smime/config.mk, lib/ssl/config.mk
2000-12-29 01:16:56 +00:00
nelsonb%netscape.com
16a28a548d This file has been superseded by mpv_sparcv8.s and mpv_sparcv9.s 2000-12-29 01:07:00 +00:00
nelsonb%netscape.com
165ce1171a Implement new mpi function mpi_read_variable_radix(). It's like
mpi_read_radix(), except that if the input stream begins with a leading
zero or "0x", it will interpret the input as octal or hex, respectively.
2000-12-29 01:01:37 +00:00
wtc%netscape.com
e424fb6173 Added Windows module-definition (.DEF) files for nss, smime, and ssl
shared libraries.
Added files: nss.def, smime.def, ssl.def
2000-12-29 00:57:17 +00:00
nelsonb%netscape.com
99f5c067fe Optimized version of these functions, contributed by Sun. 2000-12-29 00:36:31 +00:00
nelsonb%netscape.com
2701ecb476 Add missing release_md target. This will cause the new DSOs to be
included in the released jar files.
2000-12-28 21:35:55 +00:00
nicolson%netscape.com
224edc2408 legacy code for 16-bit browser, now obsolete. 2000-12-28 18:58:22 +00:00
wtc%netscape.com
94481c32a8 Bugzilla bug #63852: added config file for Solaris 8 x86. 2000-12-28 16:02:44 +00:00
nelsonb%netscape.com
30ce773929 Define NSS_USE_HYBRID in hybrid builds. 2000-12-28 04:13:02 +00:00
nelsonb%netscape.com
19aaa707ef Separate the floating point and integer implementations of modular
exponentiation into two functions that can be chosen at run time.
2000-12-28 03:41:50 +00:00
nelsonb%netscape.com
d84a97a8ac Radical change to freebl "32-bit" builds on Solaris and HP-UX "32-bit".
Build two DSOs, both conforming to the platform's 32-bit ABI, one of
which uses only 32-bit instructions, the other uses 64-bit instructions.
Then load the best one for the local CPU at run time.  This allows
greatly enhanced performance on 64-bit CPUs while still supporting older
32-bit CPUs.
2000-12-28 03:39:01 +00:00
nelsonb%netscape.com
3cf4961be7 mapfile defines the public ABI for the new freebl DSOs. 2000-12-28 03:35:43 +00:00
nelsonb%netscape.com
4a9ba412bb Verify vector version and length before relying on the DSO's vector. 2000-12-28 03:26:29 +00:00
wtc%netscape.com
56caa19b5a Bugzilla bug #63832: use $(MAKE) instead of gmake in sub-makes. 2000-12-28 03:07:27 +00:00
nelsonb%netscape.com
23ef0d9ee6 New variable USE_HYBRID configures build for hybrid model. 2000-12-28 02:55:39 +00:00
wtc%netscape.com
9105316b43 Bugzilla bug #63832: use $(MAKE) instead of gmake in recursive sub-makes.
Thanks to Myth <frb@wiw.org> for the bug report and fix.
2000-12-28 02:54:07 +00:00
wtc%netscape.com
d8b46439c0 More work on shared libraries for NSS.
1. Implemented a way to link all the objects in archive libraries into
   a shared library.  I query each subdirectory for the list of objects
   comprising an archive library (the get_objs makefile target) and link
   these objects as opposed to the archive libraries.  Not all linkers
   support the --whole-archive, -all, or -z allextract options.  The
   *sym.c solution cannot fully control what objects in the archive
   libraries are pulled and what symbols are exported.
2. Moved pkcs7 from libsmime3.so to libnss3.so because certread.c in
   libcerthi.a (part of libnss3.so) depends on some PKCS7 functions,
   which creates a circular dependency between libsmime3.so and libnss3.so.
This should work on all Unix platforms.
2000-12-28 02:22:33 +00:00
wtc%netscape.com
175186f0b2 Put -lnss3 after -lsmime3 and -lssl3, which depend on -lnss3. 2000-12-28 00:49:50 +00:00
wtc%netscape.com
65a1101c22 The -O2 flag was really a workaround for a 64-bit compilation problem
for two PKCS11-related files.  (See bug #63815.)  Now we are working
around that problem by compiling just those two files with -O2, as
opposed to compiling all files with -O2.  So we no longer need to
use the -O2 flag, even in optimized builds.  The default -O optimization
flag is recommended by the compiler manual and in the current releases
is the same as -O2.
2000-12-28 00:46:33 +00:00
wtc%netscape.com
fe524519f7 Bugzilla bug #63815: this AIX compilation problem only occurs in 64-bit
builds.  lib/softoken/pkcs11c.c also needs the workaround.
Modified files: lib/pk11wrap/Makefile, lib/softoken/Makefile
2000-12-28 00:35:26 +00:00
nelsonb%netscape.com
85579df540 Detect null slot pointer instead of crashing. 2000-12-27 21:31:39 +00:00