709 Commits

Author SHA1 Message Date
nelsonb%netscape.com
3aa312f741 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.


git-svn-id: svn://10.0.0.236/trunk@84914 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 02:32:39 +00:00
nelsonb%netscape.com
8eaac606a9 Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.


git-svn-id: svn://10.0.0.236/trunk@84913 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com
b9b03fad76 Remove all vestiges of old pre-NSS socks client implementation from NSS.
Bug 51471.


git-svn-id: svn://10.0.0.236/trunk@84912 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 01:52:59 +00:00
nelsonb%netscape.com
3f02ae5ea6 Suppress EOF messages unless running with -v. Bug 60879.
git-svn-id: svn://10.0.0.236/trunk@84908 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:55:30 +00:00
mcgreer%netscape.com
fc6581fb8e take back export of NSS_CMSArray_Count
git-svn-id: svn://10.0.0.236/trunk@84866 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 18:38:31 +00:00
mcgreer%netscape.com
e695d6ff6c removing use of external NSS_CMSArray_Count
git-svn-id: svn://10.0.0.236/trunk@84865 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 18:37:41 +00:00
mcgreer%netscape.com
b3bd20131b remove unspecified arg check (bug 65122)
git-svn-id: svn://10.0.0.236/trunk@84856 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 14:30:44 +00:00
mcgreer%netscape.com
9f0c17993d bug 64706
when prime generation step fails, retry up to a specified number of times


git-svn-id: svn://10.0.0.236/trunk@84855 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 14:29:47 +00:00
wtc%netscape.com
64a52be4e7 Added NSS_CMSArray_Count back to the exports list because
cmd/smimetools/cmsutil.c needs it.


git-svn-id: svn://10.0.0.236/trunk@84847 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 06:07:34 +00:00
sonmi%netscape.com
9d0b656952 added documentation on how to activate it when it is needed
git-svn-id: svn://10.0.0.236/trunk@84839 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:45:01 +00:00
sonmi%netscape.com
0b4626e9cd 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


git-svn-id: svn://10.0.0.236/trunk@84836 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:00:28 +00:00
nelsonb%netscape.com
58e49539c3 Save and restore %ebx register in all functions. Fixes bug 64940.
git-svn-id: svn://10.0.0.236/trunk@84835 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 01:37:02 +00:00
sonmi%netscape.com
317617a367 now killing tail -f when done under MKS as well.
git-svn-id: svn://10.0.0.236/trunk@84827 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:18:32 +00:00
mcgreer%netscape.com
fdfcf8bc6f prune list of exported symbols for s/mime library
git-svn-id: svn://10.0.0.236/trunk@84800 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 20:09:01 +00:00
sonmi%netscape.com
174f1dad2f formated everything to a <tab4> format - still needs reformating to linelength
git-svn-id: svn://10.0.0.236/trunk@84771 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:55:23 +00:00
sonmi%netscape.com
296e8cf4eb terminate now if no selfserver is running before attempting to start the
clients (with exception of the -q testclien)


git-svn-id: svn://10.0.0.236/trunk@84770 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:45:12 +00:00
mcgreer%netscape.com
7d7458c348 back out previous change
git-svn-id: svn://10.0.0.236/trunk@84582 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:43:01 +00:00
mcgreer%netscape.com
ea9b61f05b decoding nickname entries needs to include the nickname.
when searching for smime entry, verify subject is correct (can be multiple
subjects per email address)


git-svn-id: svn://10.0.0.236/trunk@84580 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:24:23 +00:00
nelsonb%netscape.com
d3fb18f4ea 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.


git-svn-id: svn://10.0.0.236/trunk@84558 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 05:58:34 +00:00
nelsonb%netscape.com
ccb2978905 Fix infinite loop by making "i" be signed again.
Also match up braces for vi editor.


git-svn-id: svn://10.0.0.236/trunk@84552 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:26:50 +00:00
nelsonb%netscape.com
257b169fe6 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.


git-svn-id: svn://10.0.0.236/trunk@84540 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 01:01:35 +00:00
nelsonb%netscape.com
07e1db7a72 Eliminate some warnings found when compiling on Unix boxen.
git-svn-id: svn://10.0.0.236/trunk@84526 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 09:21:25 +00:00
nelsonb%netscape.com
bb7974ac11 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


git-svn-id: svn://10.0.0.236/trunk@84523 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 08:13:13 +00:00
nelsonb%netscape.com
6da659e535 Eliminate some warnings by adding missing #include lines, or other minor
cleanup.


git-svn-id: svn://10.0.0.236/trunk@84522 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:56:35 +00:00
nelsonb%netscape.com
7f3c01a89d Eliminate warnings about functions returning values of the wrong type.
git-svn-id: svn://10.0.0.236/trunk@84521 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:49:22 +00:00
nelsonb%netscape.com
a0442a3fc2 Add missing declaration of library function printflags().
git-svn-id: svn://10.0.0.236/trunk@84520 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:48:04 +00:00
nelsonb%netscape.com
859095a9f7 This program tests low level functions that aren't exported from the DSOs,
so it must be built with the static libs.


git-svn-id: svn://10.0.0.236/trunk@84519 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:47:17 +00:00
nelsonb%netscape.com
2b0cf82047 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.


git-svn-id: svn://10.0.0.236/trunk@84518 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:46:36 +00:00
nelsonb%netscape.com
68a5dcdc24 Get this file to build again on Windows.
git-svn-id: svn://10.0.0.236/trunk@84517 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:44:39 +00:00
nelsonb%netscape.com
68e54ecade Add missing #include "nss.h"
git-svn-id: svn://10.0.0.236/trunk@84516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:43:28 +00:00
nelsonb%netscape.com
8efab9fa06 Fix several bugs to get NSS_Init working again.
git-svn-id: svn://10.0.0.236/trunk@84515 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:37:18 +00:00
relyea%netscape.com
1ebd98045a Move SDR tests to use nss dll's
git-svn-id: svn://10.0.0.236/trunk@84504 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:32:36 +00:00
relyea%netscape.com
8d3ffe49fd Remove depricated Open function
git-svn-id: svn://10.0.0.236/trunk@84503 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:29:25 +00:00
relyea%netscape.com
7b058fe77d Fix HP map file option ('-c rather than -e')
git-svn-id: svn://10.0.0.236/trunk@84502 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:27:06 +00:00
relyea%netscape.com
de09852947 Get down to a signle.def file
git-svn-id: svn://10.0.0.236/trunk@84501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:26:19 +00:00
relyea%netscape.com
8df26b413e Add HP to the platforms that handle restricted symbols
git-svn-id: svn://10.0.0.236/trunk@84500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:25:29 +00:00
relyea%netscape.com
bb0fadb69e Add HP to the .def file processing.
Add SDR functions


git-svn-id: svn://10.0.0.236/trunk@84499 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:24:51 +00:00
relyea%netscape.com
2e0b7692c1 Remove depricated functions that's referencing a removed symbol
git-svn-id: svn://10.0.0.236/trunk@84496 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:55:22 +00:00
relyea%netscape.com
2fdab6395c Conform to the new .def rules
git-svn-id: svn://10.0.0.236/trunk@84494 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:52:11 +00:00
relyea%netscape.com
1f20c5ad8f Conform the .def files to the new rules.
update missing symbols from the export list documentation.


git-svn-id: svn://10.0.0.236/trunk@84493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:51:05 +00:00
nelsonb%netscape.com
8afc6e0b46 Remove 8 deprecated functions from export list.
git-svn-id: svn://10.0.0.236/trunk@84492 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:10:30 +00:00
relyea%netscape.com
13e3308722 Add CERT_Find functions for the s/mime test programs.
git-svn-id: svn://10.0.0.236/trunk@84490 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:12:16 +00:00
relyea%netscape.com
b1cc2130ca Fix initialization to use NSS_Init* functions rather than low level
init functions.


git-svn-id: svn://10.0.0.236/trunk@84489 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:09:04 +00:00
relyea%netscape.com
3fec598e4c Merge Unix and win data types
git-svn-id: svn://10.0.0.236/trunk@84487 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:37:30 +00:00
relyea%netscape.com
09e39f7d40 Merge UNIX and Win Data types
git-svn-id: svn://10.0.0.236/trunk@84486 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:36:59 +00:00
relyea%netscape.com
dabfa607e1 Add symbols needed by secutil and the command libraries.
git-svn-id: svn://10.0.0.236/trunk@84485 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:14:03 +00:00
relyea%netscape.com
131904068e derdump needs to initialize NSS before calling the SECU functions.
git-svn-id: svn://10.0.0.236/trunk@84484 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:12:29 +00:00
relyea%netscape.com
d5678a9288 Use NSS_initialization.
Remove Low level SECKEY calls (not the private key management is now broken
until PK11 calls are added to replace them).


git-svn-id: svn://10.0.0.236/trunk@84483 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:11:34 +00:00
relyea%netscape.com
7840150a3b Use NSS initialization.
git-svn-id: svn://10.0.0.236/trunk@84482 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:10:18 +00:00
relyea%netscape.com
247e71075b 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.


git-svn-id: svn://10.0.0.236/trunk@84481 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:09:28 +00:00