wtc%netscape.com
4d2eddeffb
Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.
...
git-svn-id: svn://10.0.0.236/trunk@116631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 06:07:41 +00:00
wtc%netscape.com
54c69f0c8c
The previous checkin breaks signtool on Linux, AIX, and OSF1. Backing it
...
out.
git-svn-id: svn://10.0.0.236/trunk@116627 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 05:27:34 +00:00
wtc%netscape.com
84b5f7c714
Bugzilla bug 131062: fixed a zlib vulnerability.
...
git-svn-id: svn://10.0.0.236/trunk@116607 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 01:43:49 +00:00
wtc%netscape.com
a8e2c91a4d
Bugzilla bug 130703: fixed several issues in the NSS 3.4 exported headers.
...
1) Preseve the position of NSS 3.3 elements in the data structures. Some
new fields replace some old deprecated fields where possible to preserve
the total size of the structure.
2) Stan headers are removed from public exports.
3) Some exported functions didn't have prototypes in the public headers.
4) One bug fix: dev3hack.c did not pass the second argument to
nssToken_DestroyCertList.
5) Include the necessary headers to fix undeclared function warnings.
git-svn-id: svn://10.0.0.236/trunk@116522 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 04:12:25 +00:00
nelsonb%netscape.com
648062ebf2
Build p7content p7env p7sign and p7verify using nss shared libs.
...
bug 129354. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@116092 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:07:21 +00:00
nelsonb%netscape.com
b03f9ba8a6
Add support for new -p option to pass password to PK11 token.
...
Patch by evanchu@aol.com (Evan Chu). r=nelsonb a=wtc bug 129354.
git-svn-id: svn://10.0.0.236/trunk@116091 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:05:43 +00:00
jpierre%netscape.com
104ab33335
Fix bug 128347 - add -string argument to pass strings to PKCS#11 modules upon addition
...
git-svn-id: svn://10.0.0.236/trunk@115630 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:56:27 +00:00
relyea%netscape.com
c3fc5f0fb5
Make makepqg build dynamic.
...
Call the dynamic high-level functions to accomplish the generation.
git-svn-id: svn://10.0.0.236/trunk@115612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:50:39 +00:00
nelsonb%netscape.com
4d292871d6
Fix Usage message. Add missing \n to string.
...
git-svn-id: svn://10.0.0.236/trunk@115547 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 01:53:07 +00:00
ian.mcgreer%sun.com
185ed3d0f6
fix looking up a key on a token
...
git-svn-id: svn://10.0.0.236/trunk@115445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:12:06 +00:00
wtc%netscape.com
88629b5fca
Bugzilla bug 112198: use the -dylib_file ld option to link the ssl3 and
...
smime3 dylibs and the NSS tools so that they can find the indirectly
referenced libsoftokn3.dylib. Define and export DYLD_LIBRARY_PATH. The
patch is contributed by Brian Ryner <bryner@netscape.com>. r=wtc,beard.
Modified Files:
coreconf/Darwin.mk nss/cmd/platlibs.mk nss/lib/smime/config.mk
nss/lib/ssl/config.mk nss/tests/common/init.sh
git-svn-id: svn://10.0.0.236/trunk@114612 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 23:38:47 +00:00
nelsonb%netscape.com
d58ebedbc4
Change most coreconf and NSS makefiles to use OS_TARGET (which can
...
be overridden via an environment variable) rather than OS_ARCH.
This is a precursor to more flexibility in cross-platform builds.
Bug 104541.
git-svn-id: svn://10.0.0.236/trunk@114608 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 22:54:08 +00:00
wtc%netscape.com
68e3ff3855
Bugzilla bug 125790: free the nickName and passwd strings
...
git-svn-id: svn://10.0.0.236/trunk@114607 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 21:53:25 +00:00
ian.mcgreer%sun.com
6c190a7dc1
clean up certs & keys for purify
...
git-svn-id: svn://10.0.0.236/trunk@114606 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 20:50:47 +00:00
ian.mcgreer%sun.com
358f1a0a6a
make listing of certs finish cleanly under purify
...
git-svn-id: svn://10.0.0.236/trunk@114510 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 18:02:30 +00:00
jpierre%netscape.com
de4794f2ad
Fix for 125373 - crash in crlutil
...
git-svn-id: svn://10.0.0.236/trunk@114446 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:06:52 +00:00
jpierre%netscape.com
26c1e6d023
Fix for 125143 - allow modutil to report PKCS#11 library load failure errors
...
git-svn-id: svn://10.0.0.236/trunk@114359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:43:10 +00:00
jpierre%netscape.com
9d6c410b11
Reset NSPR error text before adding the module to make sure we aren't getting some previous error
...
git-svn-id: svn://10.0.0.236/trunk@114248 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:25:15 +00:00
jpierre%netscape.com
8b6f524f9d
Make modutil display a more detailed error when a PKCS#11 module fails to load. This is done by checking the NSPR error text that is set by PR_LoadLibrary failures deep in SECMOD_AddNewModule
...
git-svn-id: svn://10.0.0.236/trunk@114245 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:09:21 +00:00
wtc%netscape.com
f4a5b96f33
Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
...
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.
git-svn-id: svn://10.0.0.236/trunk@114231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:01:03 +00:00
nelsonb%netscape.com
d2efb641d7
Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
...
Patch supplied by Javier Pedemonte.
git-svn-id: svn://10.0.0.236/trunk@114184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:48:37 +00:00
ian.mcgreer%sun.com
554c4ef86a
bug 124268, usage statement for dump chain option
...
git-svn-id: svn://10.0.0.236/trunk@114031 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:22:54 +00:00
wtc%netscape.com
6a055b3707
Bugzilla bug 124318: do not link with -lsoftokn3 explicitly. Use the
...
-rpath-link linker option on Linux to find libsoftokn3.so.
git-svn-id: svn://10.0.0.236/trunk@113989 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:15:40 +00:00
bishakhabanerjee%netscape.com
897849a2c9
Patch for bug 119368: SECU_PrintError prints decimal error code now if
...
unknown error
git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
ian.mcgreer%sun.com
73e7836ead
bug 124268, -P is used twice
...
git-svn-id: svn://10.0.0.236/trunk@113910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:28:04 +00:00
wtc%netscape.com
bab3530e7f
Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
...
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).
git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:38:06 +00:00
ian.mcgreer%sun.com
633f5faf30
bug 90518, selfserv dumps cache state before shutdown with -y option
...
git-svn-id: svn://10.0.0.236/trunk@113530 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 19:39:48 +00:00
wtc%netscape.com
6cba3e1cfe
Bugzilla bug 119340: install a SIGTERM handler on Linux for debugging.
...
git-svn-id: svn://10.0.0.236/trunk@113403 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 05:57:49 +00:00
relyea%netscape.com
4965975f8a
Make the following functions open the databases Readonly:
...
ListCerts PrintHelp ListKeys ListModules CheckCertValidity Version
Add an option (-X) to restore the old behaviour of openning the Databases R/W
git-svn-id: svn://10.0.0.236/trunk@113391 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 02:26:40 +00:00
ian.mcgreer%sun.com
c2387fe9a7
have certutil shutdown cleanly so purify is easier to deal with
...
git-svn-id: svn://10.0.0.236/trunk@113331 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:27:07 +00:00
wtc%netscape.com
52cd995d98
Bugzilla bug 119340: backed out the fix. We are still seeing the
...
"selfserv process not detectable" errors on Linux and I don't have
time to get to the bottom of it.
Modified files:
cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh
git-svn-id: svn://10.0.0.236/trunk@113271 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 02:03:57 +00:00
relyea%netscape.com
b30eea42df
1) put some defensive programming so we don't crash on invalid der.
...
2) set the start offset correctly for multi-byte lengths when decoding sets
and sequences
git-svn-id: svn://10.0.0.236/trunk@113168 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 00:24:12 +00:00
relyea%netscape.com
cd1b6d6069
More 'pretty print' improvements. Decode context specific data a little more.
...
git-svn-id: svn://10.0.0.236/trunk@113123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 17:50:27 +00:00
ian.mcgreer%sun.com
c1c7114dbe
changes related to bug 115660
...
* fipstoken will only force authentication for object-related functions when the object is a private or secret key
* certutil does not authenticate to token when in FIPS and only doing cert-related operations
* QA does not provide password to certutil when doing cert-related operations in FIPS tests
git-svn-id: svn://10.0.0.236/trunk@113122 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 17:30:22 +00:00
relyea%netscape.com
61c9862c40
Fix bug 115660. Note that fixing the bugs necessitates fixing the test
...
cases as well. The test case was depending on the failure to read certs to
detect the failure to read keys. Now certutil returns a failure if no keys
are found. This also means that the FIPS test after the key and cert
has been deleted should expect a failure to list any keys.
git-svn-id: svn://10.0.0.236/trunk@112866 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:03:17 +00:00
wtc%netscape.com
6fd02510af
Bugzilla bug 119340: an inelegant but more reliable way to kill the
...
multithreaded 'selfserv' process on Linux.
Modified files:
cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh
git-svn-id: svn://10.0.0.236/trunk@112572 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 03:18:57 +00:00
wtc%netscape.com
f3b808bdf3
Bugzilla bug 119340: added a debug printf statement.
...
git-svn-id: svn://10.0.0.236/trunk@112290 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:29:06 +00:00
ian.mcgreer%sun.com
ee3a6d6fd8
force generated serial #'s to always be positive
...
git-svn-id: svn://10.0.0.236/trunk@112143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:53:11 +00:00
kirk.erickson%sun.com
be41a6dbba
Fixed termination when using -L 30 (see bug 107777).
...
This is a temporary solution, creating SYSTEM rather than USER loggerThread.
Later we should create a USER thread, Interrupt, and tell the thread to exit.
git-svn-id: svn://10.0.0.236/trunk@111907 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:03:28 +00:00
ian.mcgreer%sun.com
0938408b74
add command to certutil for dumping the chain of a cert
...
git-svn-id: svn://10.0.0.236/trunk@111790 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:30:00 +00:00
nelsonb%netscape.com
b3949a7795
Add error strings for new NSPR error codes. Bug 118668.
...
git-svn-id: svn://10.0.0.236/trunk@111785 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 03:00:30 +00:00
ian.mcgreer%sun.com
9c9e4ed53c
this is why apps shouldn't be able to change cert values...
...
git-svn-id: svn://10.0.0.236/trunk@110729 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:11:41 +00:00
jpierre%netscape.com
492923673e
Fix for 105764 - compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@110348 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:48:28 +00:00
sonja.mirtitsch%sun.com
b6287bc6dd
fixed the comment
...
git-svn-id: svn://10.0.0.236/trunk@109964 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 03:18:23 +00:00
jpierre%netscape.com
0537050ef1
Code formatting patch to support legacy text editors
...
git-svn-id: svn://10.0.0.236/trunk@109954 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:09:45 +00:00
jpierre%netscape.com
0634c586ca
Fix for 108097 - allow cmsutil to work with dual-key certs for signing and encrypting
...
git-svn-id: svn://10.0.0.236/trunk@109895 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:19:41 +00:00
jpierre%netscape.com
d4339da176
Improve error handling in cmsutil - don't proceed when error occurs, and display more information about failures using SECU_PrintError
...
git-svn-id: svn://10.0.0.236/trunk@109797 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:19:22 +00:00
jpierre%netscape.com
ad378cbe33
Fix OS/2 build bustage - conflict with error.h from OS/2 toolkit . Put explicit include path to resolve it
...
git-svn-id: svn://10.0.0.236/trunk@109782 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:36:07 +00:00
sonja.mirtitsch%sun.com
ce79c1719a
added dbtest
...
git-svn-id: svn://10.0.0.236/trunk@109757 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:35:55 +00:00
sonja.mirtitsch%sun.com
b031c036c9
test for key and cert databases
...
git-svn-id: svn://10.0.0.236/trunk@109747 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:18:14 +00:00