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

58 Коммитов

Автор SHA1 Сообщение Дата
julien.pierre.bugs%sun.com b65f1c8f3d Fix for 265504 - cmsutil dumps core with invalid option set. r=wtc 2004-10-22 22:39:47 +00:00
julien.pierre.bugs%sun.com c0aa37e404 Remove unused variable 2004-10-07 04:04:25 +00:00
wchang0222%aol.com 922ba661c4 Bugscape bug 57081: If the make variable NISCC_TEST is defined at build
time, add -DNISCC_TEST to the compile command line.  The NISCC_TEST macro
enables special code that's conditionally compiled for NISCC testing.
Modified Files:
	cmd/smimetools/Makefile cmd/smimetools/cmsutil.c
	lib/ssl/config.mk lib/ssl/manifest.mn
2004-05-13 01:29:15 +00:00
gerv%gerv.net 9d50f0f223 Bug 236613: change to MPL/LGPL/GPL tri-license. Restore Id: lines. 2004-04-27 23:04:40 +00:00
gerv%gerv.net 2cdff0bb4f Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
nelsonb%netscape.com 76d85c560b Fix S/MIME bugs that caused parallel arrays of digest OIDs and digest
values to become out of sync.  Bugscape bug 54256. r=relyea.
Modified Files:	cmd/smimetools/cmsutil.c lib/smime/cmsdigest.c
2003-12-12 23:55:06 +00:00
nelsonb%netscape.com ec6dec704f Add new -k option to NSS QA test program cmsutil. By default, cmsutil
will no longer add any decoded certs to the cert db file, which is
useful for reproducibility of results in QA scripts.
Bugscape bug 54293. r=relyea,jpierre,wtc
2003-12-06 06:31:08 +00:00
nelsonb%netscape.com a458b641ae This patch reduces the scope of many variables in cmsutil's decode function. It frees the signer's CN string after use.
Bugscape bug 54021.  r=jpierre
2003-11-25 23:26:39 +00:00
nelsonb%netscape.com 3188a9ceb1 Implement new "batch mode" (see the -b option). Plug some leaks.
Facilitates memory leak testing of the SMIME library.
This revision combines the patches for Bugzilla bug 225513 and
Bugscape bug 53775.  r = relyea and wchang0222
2003-11-20 02:33:18 +00:00
nelsonb%netscape.com e38d0f38ac Fix bugzilla bug 225301. r=jpierre. This patch does the following:
1. Fixes the Usage message to document the command line options.
2. Changes the "decode" function to
   a) report an error on bad signatures, only when decoding the input file,
      not when decoding an ancillary "enveloped file".
   b) only output the contents of the "detached content" file (-c option)
      when that file's content was actually used in the computation.
3. Sundry other cleanup and added comments.
2003-11-13 23:03:12 +00:00
jpierre%netscape.com d20b923bd7 Fix for 223494 - cmsutil signing does not work with hardware tokens. r=wtc, relyea 2003-10-28 02:34:15 +00:00
wchang0222%aol.com 31dbf3bf9f Bugzilla bug 223624: removed an extraneous format string for fprintf.
r=nelsonb.
2003-10-25 14:05:08 +00:00
bishakhabanerjee%netscape.com 680857dd96 checking return value of NSS_Shutdown - bug 171263 2003-04-01 19:13:50 +00:00
thayes%netscape.com 1f3f0e69ef Bug 192639: Use utility functions for managing token passwords so that
cmsutil will prompt for the value if it is not given on the command line.
r=nelsonb
2003-02-19 00:39:39 +00:00
wtc%netscape.com 12a72288a3 Bug 145029: fixed compiler warnings (mostly "xxx might be used
uninitialized").
2003-01-17 02:49:11 +00:00
nelsonb%netscape.com 1942331c4e Clean up command line options parsing and Usage message. 2002-12-13 01:25:45 +00:00
nelsonb%netscape.com d442ab6107 Support SHA256, SHA384, and SHA512 hashes in NSS. 2002-12-12 06:05:45 +00:00
thayes%netscape.com b815bf47be Bug 184557: Allow usage specified on command line (-u) to be used to validate
certificates used for signing (-S option).  Also add special handling for
nickname "NONE" in the -Y option.  This specifies that no certificate and
encryption key preference should be included in the signature object.
2002-12-11 01:44:37 +00:00
nelsonb%netscape.com 5f8ba2e198 Expunge dead code. 2002-12-05 22:16:22 +00:00
nicolson%netscape.com 76c9ac877e Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".
2002-09-06 16:38:56 +00:00
wtc%netscape.com b7abf3a369 Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
The patch for this checkin is attached to bug 166785.
2002-09-06 00:27:52 +00:00
kaie%netscape.com d8cdcf2c51 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea
2002-08-27 13:14:42 +00:00
kaie%netscape.com 7573860b4e Backing myself out, since it didn't compile on Win32, and I would like to discuss the correct fix. 2002-08-27 00:05:11 +00:00
kaie%netscape.com 0ad47da696 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea
2002-08-26 21:34:31 +00:00
relyea%netscape.com 14e7ed26f6 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).
2002-04-12 19:05:21 +00:00
wtc%netscape.com b0d2ee6180 Bugzilla bug 131078: fixed compiler warnings. r=mcgreer. 2002-03-15 06:07:41 +00:00
jpierre%netscape.com 962ae85f0b Code formatting patch to support legacy text editors 2001-12-07 02:09:45 +00:00
jpierre%netscape.com 64aeabc47e Fix for 108097 - allow cmsutil to work with dual-key certs for signing and encrypting 2001-12-06 23:19:41 +00:00
jpierre%netscape.com bc8745f219 Improve error handling in cmsutil - don't proceed when error occurs, and display more information about failures using SECU_PrintError 2001-12-06 03:19:22 +00:00
jpierre%netscape.com cedf16bd3f Fix for 95264 - add more info in s/mime script 2001-11-21 21:37:12 +00:00
mcgreer%netscape.com 550dd01e2d fix for 92962, need to chomp newline at end of message body. 2001-08-09 13:30:44 +00:00
relyea%netscape.com 43f46341d4 Change structure passing to pointer passing.
removed debugging printf's
2001-03-23 19:33:59 +00:00
mcgreer%netscape.com ab41b19d3f removing use of external NSS_CMSArray_Count 2001-01-12 18:37:41 +00:00
nelsonb%netscape.com 31a9c7be14 Get this file to build again on Windows. 2001-01-07 07:44:39 +00:00
relyea%netscape.com 596b362320 Remove depricated Open function 2001-01-07 00:29:25 +00:00
mcgreer%netscape.com 6860a81722 dump usage before doing anything when no args passed, bug 63520 2000-12-21 22:14:02 +00:00
mcgreer%netscape.com d2db2cc7a2 certs-only does not require input 2000-12-14 23:59:33 +00:00
mcgreer%netscape.com e9f5cbb306 cmsutil was broken for STDIN input 2000-12-11 18:42:58 +00:00
mcgreer%netscape.com dc97aada1c fix debug output so it doesn't crash 2000-12-07 18:38:27 +00:00
mcgreer%netscape.com 5e3861c881 still more debug output 2000-12-06 22:35:52 +00:00
mcgreer%netscape.com d6a795fe4f add some debug output to try and track down HP64 QA problem 2000-12-05 23:58:01 +00:00
wtc%netscape.com 67a4f7910b Fixed the comment. 2000-10-11 07:21:38 +00:00
mcgreer%netscape.com 9a7e99f3ec also do binary on stdout DER 2000-10-11 07:12:45 +00:00
mcgreer%netscape.com e2bd1e49ea binary output always, for now 2000-10-11 07:04:30 +00:00
mcgreer%netscape.com f33e8a5656 fix output of DER's on windows 2000-10-11 06:52:06 +00:00
nelsonb%netscape.com 0dcc56339a In lib/smime, detect null pointers returned by various functions.
Christian Kaiser fixed the test script to pass the right directory name
to the test program.  The test script echoes all the cmsutil test
commands so that the error messages are associated with the proper one.
And cmsutil now puts its name on the front of its error messages.
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com 891739a6b6 Call NSS_InitReadWrite instead of SECU_PKCS11Init, and check the result
for success.  Fixes a crash.  If it turns out that cmsutil doesn't need
to modifiy the cert and/or key DBs, then it should call NSS_Init, instead.
2000-10-06 21:45:01 +00:00
mcgreer%netscape.com 88346c571a checked in wrong fix. 2000-10-05 02:41:09 +00:00
mcgreer%netscape.com 4195729ff1 fix for bug #55190. Some 64-bit platforms will not return an alloc'ed pointer from an undeclared function. 2000-10-05 01:39:35 +00:00
mcgreer%netscape.com 9e307ffa0f brutish changes to get encrypted data working, will clean up later. allows test script for 3.1 to work. 2000-09-29 16:37:29 +00:00