1012 Commits

Author SHA1 Message Date
javi%netscape.com
08ddcfd8fe Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@84691 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:32:29 +00:00
javi%netscape.com
6c63e1fa29 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)


git-svn-id: svn://10.0.0.236/trunk@84684 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:04:37 +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
1112b9b81e If the HP map definition to that it actually works!
git-svn-id: svn://10.0.0.236/trunk@84498 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:23:41 +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
4e136bd78a Implement new .def file processing rules.
Add rules for HP


git-svn-id: svn://10.0.0.236/trunk@84495 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:52:44 +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
e6a43b8a67 Allow UNIX and Windows to share Data lines in the .def files
git-svn-id: svn://10.0.0.236/trunk@84488 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:38:34 +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
relyea%netscape.com
ee3473443c remove depricated functions from secutil.
git-svn-id: svn://10.0.0.236/trunk@84480 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:05:36 +00:00
nelsonb%netscape.com
d5cd06265e 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.


git-svn-id: svn://10.0.0.236/trunk@84479 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 20:56:40 +00:00
mcgreer%netscape.com
b22b1a2842 reflect function declaration changes to loader module (const stuff)
git-svn-id: svn://10.0.0.236/trunk@84477 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 17:07:07 +00:00
mcgreer%netscape.com
324117e3d4 on hypbrid cpu models (except sparc), use long long instead of long
git-svn-id: svn://10.0.0.236/trunk@84476 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 17:06:26 +00:00
mcgreer%netscape.com
6ab7987e3c fix broken build on bigendian platforms
git-svn-id: svn://10.0.0.236/trunk@84475 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 16:34:23 +00:00
nelsonb%netscape.com
912cbdbcf0 Stop using deprecated SSL functions. Convert them to the supported ones.
git-svn-id: svn://10.0.0.236/trunk@84462 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 02:40:02 +00:00
relyea%netscape.com
b2786a1f98 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


git-svn-id: svn://10.0.0.236/trunk@84461 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 02:00:55 +00:00
relyea%netscape.com
711d0a77e5 1) Add AIX to the exportted symbols controlled plaform.
2) reduce the exported symbol list down to one


git-svn-id: svn://10.0.0.236/trunk@84460 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:59:03 +00:00
relyea%netscape.com
e771a8efc3 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()


git-svn-id: svn://10.0.0.236/trunk@84459 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:57:48 +00:00
nelsonb%netscape.com
4317ea94c5 Use _WIN32 instead of _WINDOWS in windows-dependent ifdefs.
git-svn-id: svn://10.0.0.236/trunk@84449 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:53:38 +00:00
mcgreer%netscape.com
ca5f3a2537 add support for AES
reduce compiler warnings


git-svn-id: svn://10.0.0.236/trunk@84436 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 22:38:50 +00:00