Граф коммитов

1099 Коммитов

Автор SHA1 Сообщение Дата
bryner%uiuc.edu f1a9df84d2 Oops, forgot jar.mn. 2001-01-19 01:12:42 +00:00
bryner%uiuc.edu 4e954931d3 PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
nicolson%netscape.com e33e62887b moved libjss generation from cmd/jssjava to lib. 2001-01-19 00:14:25 +00:00
nicolson%netscape.com 14579089fc get stuff to build under mozilla. 2001-01-19 00:13:52 +00:00
nicolson%netscape.com bd68395daa no more jssjava. 2001-01-19 00:11:31 +00:00
nicolson%netscape.com d5754b6a13 remove all the old jssjava stuff. move everything else to
mozilla/security/jss/lib.
2001-01-19 00:11:12 +00:00
mcgreer%netscape.com 5f188b705a make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc
2001-01-18 21:45:47 +00:00
wtc%netscape.com c33e0a8553 Add library version info to the NSS, S/MIME, and SSL shared libraries.
Define the NSS version macros and add NSS_VersionCheck in nss.h.
Add linker option to record internal name of shared libraries.
Add Windows resource files.  Add rcs and sccs id strings that can be
retrieved with 'ident' and 'what'.
Modified Files:
	coreconf/HP-UX.mk coreconf/OSF1.mk coreconf/SunOS5.mk
        coreconf/WIN954.0.mk coreconf/WINNT4.0.mk coreconf/WINNT5.0.mk
	coreconf/rules.mk nss/lib/nss/config.mk
	nss/lib/nss/manifest.mn nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c nss/lib/smime/config.mk
	nss/lib/smime/manifest.mn nss/lib/ssl/config.mk
	nss/lib/ssl/manifest.mn
Added Files:
	nss/lib/nss/nss.rc nss/lib/nss/nssver.c nss/lib/smime/smime.rc
	nss/lib/smime/smimever.c nss/lib/ssl/ssl.rc
	nss/lib/ssl/sslver.c
2001-01-18 20:29:10 +00:00
mcgreer%netscape.com 73586118bb fixes for prime generatation:
1.  Increase maximum tries to 600 (based on 2*(approx. frequency of 1024-bit primes))
2.  Lower the number of Miller-Rabin iterations for p and q based on HAC table 4.4
r=nelsonb,a=wtc
2001-01-18 16:39:10 +00:00
wtc%netscape.com 6f7422a77a Bugzilla bug #65416: assign values explicitly to enumeration constants.
The same values that the compiler would assign are assigned, with only
one exception (cmmfNoPKIStatus in cmmft.h).  This is patch id=22555,
reviewed by Nelson Bolyard.
2001-01-18 16:36:43 +00:00
nelsonb%netscape.com fe9fa27179 When searching for a prime, the number of Miller-Rabin tests to be
performed will be done in accordance with a table published in the
Handbook of Applied Cryptography.  See Bug 65151.  Also, changes to
test program for this function.
2001-01-18 01:39:17 +00:00
sonmi%netscape.com 49a2766afc changed the stopQ conditionvariable to theadQ 2001-01-17 02:26:27 +00:00
jgmyers%netscape.com 1442b85c98 add .cvsignore 2001-01-17 02:24:04 +00:00
nicolson%netscape.com 7022353f18 remove export controls, and get things to build against NSS 3.1.1 under mozilla. 2001-01-16 23:49:57 +00:00
nicolson%netscape.com 8487361394 remove export controls. 2001-01-16 21:28:32 +00:00
nicolson%netscape.com e97cf5f08f remove export controls 2001-01-16 21:28:09 +00:00
nicolson%netscape.com 2c533473b6 make JSS buildable. 2001-01-16 21:27:19 +00:00
nicolson%netscape.com eadf70bda0 make JSS buildable 2001-01-16 21:26:33 +00:00
javi%netscape.com 623041bddc Add Win32 build support for PSM 2.0 2001-01-16 21:16:07 +00:00
nelsonb%netscape.com edc48f136d Send SSL 3.x alert records when a version mismatch occurs.
Use the other party's version number to decide which alert to send.
Bug 65142.  R&A: relyea.
2001-01-13 02:32:39 +00:00
nelsonb%netscape.com 14c87961d5 Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com d5ae266115 Remove all vestiges of old pre-NSS socks client implementation from NSS.
Bug 51471.
2001-01-13 01:52:59 +00:00
nelsonb%netscape.com 59a40ba22f Suppress EOF messages unless running with -v. Bug 60879. 2001-01-13 00:55:30 +00:00
wtc%netscape.com fee47a3083 Bugzilla bug #64650: set CC=cc explicitly so that we don't accidentally
pick up the CC setting in the environment.  This change is suggested by
Jim Dunn of Netscape.
2001-01-12 20:11:18 +00:00
wtc%netscape.com d166bdddbd Bugzilla bug #64650: use +DAportable +DS2.0 in "pure 32" builds. This
was suggested by Jim Dunn of Netscape.  Reviewed by Nelson Bolyard.
2001-01-12 19:54:10 +00:00
mcgreer%netscape.com addbd94893 take back export of NSS_CMSArray_Count 2001-01-12 18:38:31 +00:00
mcgreer%netscape.com 1bd1fe5b0b removing use of external NSS_CMSArray_Count 2001-01-12 18:37:41 +00:00
mcgreer%netscape.com 03f5d37be2 remove unspecified arg check (bug 65122) 2001-01-12 14:30:44 +00:00
mcgreer%netscape.com 3f0e83ae0c bug 64706
when prime generation step fails, retry up to a specified number of times
2001-01-12 14:29:47 +00:00
wtc%netscape.com a674e530ea Added NSS_CMSArray_Count back to the exports list because
cmd/smimetools/cmsutil.c needs it.
2001-01-12 06:07:34 +00:00
sonmi%netscape.com 1212517fec added documentation on how to activate it when it is needed 2001-01-12 02:45:01 +00:00
sonmi%netscape.com 2d0c2744be new script, supposed to be started in the background by all.sh, to watch
for cores and rename them, so multiple corefiles can be saved
checked in during freeze but not activated yet
2001-01-12 02:00:28 +00:00
nelsonb%netscape.com a6efa3c2c5 Save and restore %ebx register in all functions. Fixes bug 64940. 2001-01-12 01:37:02 +00:00
sonmi%netscape.com 94b0ea5983 now killing tail -f when done under MKS as well. 2001-01-12 00:18:32 +00:00
mcgreer%netscape.com 9f6b371648 prune list of exported symbols for s/mime library 2001-01-11 20:09:01 +00:00
sonmi%netscape.com 14b74a767a formated everything to a <tab4> format - still needs reformating to linelength 2001-01-11 01:55:23 +00:00
sonmi%netscape.com 672d2f9598 terminate now if no selfserver is running before attempting to start the
clients (with exception of the -q testclien)
2001-01-11 01:45:12 +00:00
javi%netscape.com d3d2410479 Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)
2001-01-10 01:32:29 +00:00
javi%netscape.com 068b645980 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)
2001-01-10 00:04:37 +00:00
mcgreer%netscape.com 91698770e4 back out previous change 2001-01-08 19:43:01 +00:00
mcgreer%netscape.com c7c96f7f51 decoding nickname entries needs to include the nickname.
when searching for smime entry, verify subject is correct (can be multiple
subjects per email address)
2001-01-08 19:24:23 +00:00
nelsonb%netscape.com 729c505bf3 Changed HP assembler routine multacc512 in hpma512.s so that it
propagates carries exactly the same way that maxpy_little does.
Re-enabled use of multacc512 in mpi_hp.c.
2001-01-08 05:58:34 +00:00
nelsonb%netscape.com c974f7d877 Fix infinite loop by making "i" be signed again.
Also match up braces for vi editor.
2001-01-08 03:26:50 +00:00
nelsonb%netscape.com 1f1f72480e Generation of prime numbers has been failing on HP since MPI began to
use the newest HP assembler function, multacc512.  So, that function
has been disabled.  Further investigation is needed.
2001-01-08 01:01:35 +00:00
nelsonb%netscape.com 68049fe0ce Eliminate some warnings found when compiling on Unix boxen. 2001-01-07 09:21:25 +00:00
nelsonb%netscape.com eea673c43a MSVC won't let you initialize a pointer in a data structure with the
address of an external variable that comes from another DLL.
This is a fundamental difference between WIN32 DLLs and Unix DSOs.
So, for every SEC_ASN1Template inside of libnss3 that is referenced by
other templates outside of libnss3, a new "chooser" function was created
that returns the address of that template.  For WIN32, the templates
outside of libnss3 access libnss3's templates by the chooser function
rather than by direct reference.  Some simple macros allow Unix to
continue to use direct references, avoiding the extra function calls.
With these changes, all.sh (qa script) passes all tests on NT with DLLs.
Modified Files:
	cmd/checkcert/checkcert.c cmd/lib/secutil.c lib/asn1/asn1t.h
	lib/certdb/certdb.c lib/certdb/certt.h lib/certdb/crl.c
	lib/certhigh/certreq.c lib/crmf/asn1cmn.c lib/crmf/crmfcont.c
	lib/crmf/crmftmpl.c lib/cryptohi/secsign.c lib/nss/nss.def
	lib/pkcs12/p12local.c lib/pkcs12/p12tmpl.c
	lib/pkcs7/certread.c lib/pkcs7/p7decode.c lib/pkcs7/p7local.c
	lib/smime/cmsasn1.c lib/smime/cmsattr.c lib/smime/cmspubkey.c
	lib/smime/cmssigdata.c lib/smime/smimeutil.c
	lib/softoken/keydb.c lib/softoken/keydbt.h lib/util/secalgid.c
	lib/util/secasn1.h lib/util/secasn1d.c lib/util/secasn1t.h
	lib/util/secasn1u.c lib/util/secdig.c lib/util/secdig.h
	lib/util/secoid.h
2001-01-07 08:13:13 +00:00
nelsonb%netscape.com 9407723b67 Eliminate some warnings by adding missing #include lines, or other minor
cleanup.
2001-01-07 07:56:35 +00:00
nelsonb%netscape.com fbb67a9c4c Eliminate warnings about functions returning values of the wrong type. 2001-01-07 07:49:22 +00:00
nelsonb%netscape.com a97e2c5e3d Add missing declaration of library function printflags(). 2001-01-07 07:48:04 +00:00
nelsonb%netscape.com 6edc66e859 This program tests low level functions that aren't exported from the DSOs,
so it must be built with the static libs.
2001-01-07 07:47:17 +00:00
nelsonb%netscape.com 920c5a1f77 The recent deletion of the SECU_Password function from cmd/lib made this
progam stop compiling.  So, as a temporary measure, to fix the build,
ifdef out the calls to the missing functions, and always behave as if
the "-n none" option had been supplied.
2001-01-07 07:46:36 +00:00
nelsonb%netscape.com 1ddc0c071d Get this file to build again on Windows. 2001-01-07 07:44:39 +00:00
nelsonb%netscape.com cf51c9006f Add missing #include "nss.h" 2001-01-07 07:43:28 +00:00
nelsonb%netscape.com f202bf1882 Fix several bugs to get NSS_Init working again. 2001-01-07 07:37:18 +00:00
relyea%netscape.com 69ba9f4f57 Move SDR tests to use nss dll's 2001-01-07 00:32:36 +00:00
relyea%netscape.com 941360ff6e Remove depricated Open function 2001-01-07 00:29:25 +00:00
relyea%netscape.com 1c171b46f8 Fix HP map file option ('-c rather than -e') 2001-01-07 00:27:06 +00:00
relyea%netscape.com 647e6ae2e4 Get down to a signle.def file 2001-01-07 00:26:19 +00:00
relyea%netscape.com b81edc1838 Add HP to the platforms that handle restricted symbols 2001-01-07 00:25:29 +00:00
relyea%netscape.com 766659480a Add HP to the .def file processing.
Add SDR functions
2001-01-07 00:24:51 +00:00
relyea%netscape.com 7782e8e49d If the HP map definition to that it actually works! 2001-01-07 00:23:41 +00:00
relyea%netscape.com 7922b6463d Remove depricated functions that's referencing a removed symbol 2001-01-06 23:55:22 +00:00
relyea%netscape.com 9d6f24b1f0 Implement new .def file processing rules.
Add rules for HP
2001-01-06 23:52:44 +00:00
relyea%netscape.com a1caf9ee0d Conform to the new .def rules 2001-01-06 23:52:11 +00:00
relyea%netscape.com 6480efed38 Conform the .def files to the new rules.
update missing symbols from the export list documentation.
2001-01-06 23:51:05 +00:00
nelsonb%netscape.com 800d49e219 Remove 8 deprecated functions from export list. 2001-01-06 23:10:30 +00:00
relyea%netscape.com 558f0063f1 Add CERT_Find functions for the s/mime test programs. 2001-01-06 22:12:16 +00:00
relyea%netscape.com d246ad65a3 Fix initialization to use NSS_Init* functions rather than low level
init functions.
2001-01-06 22:09:04 +00:00
relyea%netscape.com 3c4399e4ab Allow UNIX and Windows to share Data lines in the .def files 2001-01-06 21:38:34 +00:00
relyea%netscape.com a1229115a0 Merge Unix and win data types 2001-01-06 21:37:30 +00:00
relyea%netscape.com 69531a060f Merge UNIX and Win Data types 2001-01-06 21:36:59 +00:00
relyea%netscape.com 0d5404ab76 Add symbols needed by secutil and the command libraries. 2001-01-06 21:14:03 +00:00
relyea%netscape.com 1825c169ff derdump needs to initialize NSS before calling the SECU functions. 2001-01-06 21:12:29 +00:00
relyea%netscape.com 5353a5b656 Use NSS_initialization.
Remove Low level SECKEY calls (not the private key management is now broken
until PK11 calls are added to replace them).
2001-01-06 21:11:34 +00:00
relyea%netscape.com 899444b644 Use NSS initialization. 2001-01-06 21:10:18 +00:00
relyea%netscape.com dcb55c3980 Move the cert searching and printing utility function out of secutil.c so that
most functions which call secutil can still be used in the shared libraries.
2001-01-06 21:09:28 +00:00
relyea%netscape.com b91a0677ac remove depricated functions from secutil. 2001-01-06 21:05:36 +00:00
nelsonb%netscape.com 1962fdcb4f Remove declarations of SOCKS support functions, which have never worked
in NSS 3.x and are not supported.  Ifdef out declarations of deprecated
functions, since they are not exported by ssl3.dll.
2001-01-06 20:56:40 +00:00
mcgreer%netscape.com a12fc02b67 reflect function declaration changes to loader module (const stuff) 2001-01-06 17:07:07 +00:00
mcgreer%netscape.com ffeb56bbd2 on hypbrid cpu models (except sparc), use long long instead of long 2001-01-06 17:06:26 +00:00
mcgreer%netscape.com 50c492d08c fix broken build on bigendian platforms 2001-01-06 16:34:23 +00:00
nelsonb%netscape.com 793dba6814 Stop using deprecated SSL functions. Convert them to the supported ones. 2001-01-06 02:40:02 +00:00
relyea%netscape.com c20c39e789 Add rules for building the correct exportted list file for Sun, AIX, and Linux.
Fix AIX so the Map files will override exporting all the symbols
2001-01-06 02:00:55 +00:00
relyea%netscape.com c3228676cf 1) Add AIX to the exportted symbols controlled plaform.
2) reduce the exported symbol list down to one
2001-01-06 01:59:03 +00:00
relyea%netscape.com e1e34747da 1) Add AIX to the build.
2) prune nss.def
3) reduce the count of exported symbol files down to one.
4) add NSS_Initialize()
2001-01-06 01:57:48 +00:00
nelsonb%netscape.com f4895bd017 Use _WIN32 instead of _WINDOWS in windows-dependent ifdefs. 2001-01-05 23:53:38 +00:00
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