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

861 Коммитов

Автор SHA1 Сообщение Дата
relyea%netscape.com 017d2e48a7 remove depricated mechanisms so pk11table continues to build. 2005-10-03 22:19:43 +00:00
relyea%netscape.com f07d043fa0 Tests won't pass if we don't build crmftest 2005-09-29 22:01:52 +00:00
relyea%netscape.com f7650e2dfd Bug 308887 CRMF request generation problem when using latest firefox
Add crmf tests to the test suite.
2005-09-29 21:36:42 +00:00
nelsonb%netscape.com 392492409b Don't crash when printing an ASN.1 NULL primitive with a NULL prefix
string.  Bug 309651. r=wtchang.
2005-09-22 22:45:32 +00:00
julien.pierre.bugs%sun.com bc02bfe07d Fix for 293686. Check status from SECU_ParseCommandLine. r=nelson 2005-09-20 05:13:01 +00:00
julien.pierre.bugs%sun.com 2bd2306d6c Fix for 292390. NSS tools with missing command-line operands cause crash. r=nelson 2005-09-19 20:59:46 +00:00
julien.pierre.bugs%sun.com 83ceb87c51 Fix for 293686 . signver has command-line options with optional arguments. r=nelsonb 2005-09-19 20:52:11 +00:00
saul.edwards%sun.com d9d3cf6f93 Bug 305147: add -B (bypass SSL) and -s (disable SSL locking) to server and client commands; add bypass testing to SSL test suite. 2005-09-09 04:50:07 +00:00
saul.edwards%sun.com 046c62d43f Bug 303508: Add freebl shared libs that do 64-bit integer math. Bug 274984: softoken fails to load freebl in setuid programs. freebl becomes a shared library on all platforms. r=nelson
Modified Files:
	coreconf/HP-UXB.11.mk coreconf/SunOS5.mk
	nss/cmd/shlibsign/Makefile nss/cmd/shlibsign/manifest.mn
	nss/lib/freebl/Makefile nss/lib/freebl/arcfour.c
	nss/lib/freebl/blapi.h nss/lib/freebl/config.mk
	nss/lib/freebl/ldvector.c nss/lib/freebl/loader.c
	nss/lib/freebl/loader.h nss/lib/freebl/manifest.mn
Added Files:
	nss/lib/freebl/freebl.def
2005-09-07 02:47:16 +00:00
nelsonb%netscape.com 28f26c51fa Remove fortezza code from libSSL and from the SSL test programs.
Stop building fortezza's special software token, and fortezza specific
test programs.   Bug 239960. r=rrelyea.
Modified Files:
    cmd/manifest.mn cmd/platlibs.mk cmd/SSLsample/server.c
    cmd/SSLsample/sslsample.c cmd/modutil/modutil.c
    cmd/selfserv/selfserv.c cmd/sslstrength/sslstrength.c
    cmd/strsclnt/strsclnt.c cmd/tstclnt/tstclnt.c
    cmd/vfyserv/vfyserv.c cmd/vfyserv/vfyutil.c lib/manifest.mn
    lib/ssl/nsskea.c lib/ssl/preenc.h lib/ssl/prelib.c
    lib/ssl/ssl.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
    lib/ssl/sslauth.c lib/ssl/sslcon.c lib/ssl/sslenum.c
    lib/ssl/sslimpl.h lib/ssl/sslinfo.c lib/ssl/sslproto.h
    lib/ssl/sslsecur.c lib/ssl/sslsnce.c lib/ssl/sslsock.c
    lib/ssl/sslt.h
2005-08-16 03:42:26 +00:00
wtchang%redhat.com 972d589547 Bugzilla Bug 302670: enable NSS to use system zlib and do that on Linux.
r=nelsonb.
Modified Files:
	coreconf/Linux.mk nss/cmd/Makefile nss/cmd/manifest.mn
	nss/cmd/platlibs.mk
2005-08-16 01:08:59 +00:00
wtchang%redhat.com 5b13de7790 Bugzilla Bug 298612: make sure that the int argument that we pass to the
isspace, etc. macros is EOF or between 0 and 255. r=nelsonb.
2005-08-15 22:06:47 +00:00
wtchang%redhat.com bffb758135 Bugzilla bug 303986: do not assume the line ending is '\n'; it may be the
two character sequence '\r''\n'.  Make sure a character is a digit before
using it as a digit. r=jpierre.
2005-08-09 22:19:09 +00:00
julien.pierre.bugs%sun.com f15866be62 Fix for bug 292151 . Prevent strsclnt from starting threads for each connection. Allow specifying a ratio of full handshakes . r=nelson 2005-07-25 20:39:14 +00:00
wtchang%redhat.com 5e18c64463 Bugzilla Bug 288647: enable building NSS with an NSPR binary distribution.
Introduced NSPR_INCLUDE_DIR and NSPR_LIB_DIR make variables. Portions of
the patch were contributed by Chris Seawood <cls@seawood.org>. r=relyea.
Modified Files:
	coreconf/OS2.mk coreconf/OpenVMS.mk coreconf/location.mk
	nss/cmd/platlibs.mk nss/cmd/shlibsign/Makefile
	nss/cmd/shlibsign/sign.cmd nss/cmd/shlibsign/sign.sh
	nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile nss/lib/nss/config.mk
	nss/lib/smime/config.mk nss/lib/softoken/config.mk
	nss/lib/ssl/config.mk
2005-07-21 23:48:30 +00:00
wtchang%redhat.com 428f1c6c23 Bugzilla bug 301212: Upgraded to zlib 1.2.3. r=relyea.
Modified Files:
	README adler32.c compress.c crc32.c deflate.c deflate.h
	example.c gzio.c infback.c inffast.c inflate.c inflate.h
	inftrees.c inftrees.h minigzip.c trees.c uncompr.c zconf.h
	zlib.h zutil.c zutil.h
2005-07-20 20:32:42 +00:00
wtchang%redhat.com 2496aabc3e Bugzilla Bug 299445 - fixed the check for an incomplete code set. 2005-07-06 18:14:26 +00:00
julien.pierre.bugs%sun.com 9df42172ea Fix for 298955 - make rsaperf authenticate to hardware tokens. r=relyea 2005-06-30 20:38:33 +00:00
wtchang%redhat.com 06d3ac7721 Bugzilla Bug 298409: fixed an array index off-by-one error and a memory
leak. r=nelsonb.
2005-06-24 23:00:02 +00:00
wtchang%redhat.com 2a93cb923f Bugzilla Bug 298409: fixed the bug that an array size was incorrectly
calculated. r=alexei.volkov.
2005-06-23 22:05:21 +00:00
alexei.volkov.bugs%sun.com 286d943a86 fix for bug: 297015 - bltest should run multithreaded. r=julien 2005-06-16 21:11:02 +00:00
nelsonb%netscape.com d55f3f8790 Back out last checkin, which broke the build on some platforms. 2005-06-14 05:51:51 +00:00
alexei.volkov.bugs%sun.com d051300a98 RFE fix 297015: bltest should run multithreaded. julien r+ 2005-06-14 01:58:22 +00:00
julien.pierre.bugs%sun.com 8e0db2facb Fix crash of rsaperf on keygen failure 2005-05-24 03:54:13 +00:00
julien.pierre.bugs%sun.com bd6a46d8d3 Fix for 293091 - add double -o option to skip cert verification completely. r=nelson 2005-05-07 04:10:55 +00:00
julien.pierre.bugs%sun.com 8f174c05e5 Fix for bug 292390 . Prevent crash in certutil with -P option and dbprefix omitted. 2005-04-29 21:58:49 +00:00
nelsonb%netscape.com 94e828fc62 Prevent crash in certutil -C when incoming request has no attributes.
Bug 291542. r=julien.pierre
2005-04-23 02:12:00 +00:00
wtchang%redhat.com 24defa525f Bugzilla bug 290233: fixed printf format related bugs reported as compiler
warnings. r=nelsonb.
Modified Files: addbuiltin.c rsaperf.c vfychain.c
2005-04-13 23:03:15 +00:00
alexei.volkov.bugs%sun.com 558ede79f2 Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+ 2005-04-12 02:24:17 +00:00
wtchang%redhat.com 04886c3ed1 Bugzilla Bug 289819: fixed a typo in the SEC_ERROR_EXTRA_INPUT error
message.  r=nelsonb.
2005-04-11 19:02:47 +00:00
nelsonb%netscape.com a214277697 Truncate output file before writing. Bug 289817. r=julien.pierre 2005-04-11 02:48:54 +00:00
julien.pierre.bugs%sun.com 72086cda85 Fix for 288892 - fix for tstlcnt to help QA run on OS/2 . r=nelson, wtchang 2005-04-09 01:46:38 +00:00
nelsonb%netscape.com 6c66abbe4a decouple block size from buffer size for AES/rijndael in bltest.
Bug 289066. r=saul.edwards,rrelyea.
2005-04-06 23:19:22 +00:00
nelsonb%netscape.com 964a4ebea4 Back out the preceeding fortezza removal patch, which was accidentally
applied to the trunk, not to the intended branch.
2005-04-06 21:35:45 +00:00
nelsonb%netscape.com e42ce41730 Remove fortezza support from libSSL and related commands. Bug 239960.
ON PERFORMANCE_HACKS_BRANCH.  r=rrelyea.
2005-04-06 19:43:19 +00:00
nelsonb%netscape.com 61d794d259 Add new -E option to test the SSL_NO_STEPDOWN option. r=julien. bug 148452. 2005-04-04 17:42:24 +00:00
julien.pierre.bugs%sun.com 6e1044578e Remove unused variable 2005-04-02 06:52:04 +00:00
julien.pierre.bugs%sun.com 69f0ce23bd Reduce unneeded warning output 2005-04-02 06:46:51 +00:00
julien.pierre.bugs%sun.com 54924f764a Add include for definition of SECU_RegisterDynamicOids 2005-04-02 06:40:30 +00:00
julien.pierre.bugs%sun.com d4ac2649dd Remove unused variable 2005-04-02 06:38:39 +00:00
julien.pierre.bugs%sun.com 0b0c788613 Remove dead and very bogus pre-softoken code 2005-04-02 06:33:25 +00:00
julien.pierre.bugs%sun.com fcfa7ef349 Clean-up compiler warnings 2005-04-02 06:21:20 +00:00
julien.pierre.bugs%sun.com c5401e6cbb Remove unused variable 2005-04-02 05:26:58 +00:00
julien.pierre.bugs%sun.com 41a375c4a2 Remove unused variables 2005-04-02 05:25:26 +00:00
julien.pierre.bugs%sun.com d6f995a270 Cleanup unused variables and dead code 2005-04-02 05:24:07 +00:00
alexei.volkov.bugs%sun.com 8081e47350 fix for bug 265003: selfserv.c: allow selfserv to load crls. R=julien 2005-04-02 02:29:24 +00:00
julien.pierre.bugs%sun.com a95d70c102 Cleanup unused variables 2005-04-01 02:47:52 +00:00
julien.pierre.bugs%sun.com fff6417873 Indentation fix (related to 287498) 2005-04-01 00:14:34 +00:00
julien.pierre.bugs%sun.com ad32ad89eb Fix for 259896 - make rsaperf use PKCS#11 . and many other improvements. r=nelson 2005-03-31 23:33:51 +00:00
alexei.volkov.bugs%sun.com 306b6fbcba fix for bug 287625: rsaperf should run multithreaded 2005-03-29 22:32:22 +00:00
nelsonb%netscape.com 5e7fe884cb Rename all internal private softoken functions types and symbols from
PK11 or pk11 prefixes to SFTK or sftk prefixes.  Bug 286685.
r=relyea,wtchang  Modified Files:
 cmd/bltest/blapitest.c lib/pk11wrap/pk11pars.c lib/softoken/dbinit.c
 lib/softoken/dbmshim.c lib/softoken/fipstest.c lib/softoken/fipstokn.c
 lib/softoken/pcertdb.c lib/softoken/pk11db.c lib/softoken/pk11pars.h
 lib/softoken/pkcs11.c lib/softoken/pkcs11c.c lib/softoken/pkcs11i.h
 lib/softoken/pkcs11u.c lib/softoken/softoken.h lib/softoken/tlsprf.c
2005-03-29 18:21:18 +00:00
julien.pierre.bugs%sun.com a4b154f278 Fix for 287948 - fix overflow in calculation of ops/s 2005-03-25 02:59:07 +00:00
julien.pierre.bugs%sun.com 197503cc04 Fix for bug 287498 - add option for rsaperf to run for a fixed duration, and display ops/s . 2005-03-24 23:07:40 +00:00
neil.williams%sun.com 090c4c9ef5 Bug 286505 Now reports an error on EOF in standard input. Leaving resolution
unchanged until we find out why the failure is different on SPARC than on x86.
r=nelson
2005-03-19 03:36:55 +00:00
neil.williams%sun.com accf3c0fc8 Bug 285208 Fixes ext processing bug introduced by previous patch.
r=nelson
2005-03-17 01:43:47 +00:00
neil.williams%sun.com 81755f7171 Bug 285208: certutil when given arguments for both -7 and -8 would create two
subjAltName extensions. Now a list single extension with both name types in
created.
r=nelson
2005-03-14 18:55:46 +00:00
julien.pierre.bugs%sun.com 513619b5fe Fix for 176705 - fix rpath on AMD64 platform. r=saul, sr=wtchang 2005-03-09 23:04:49 +00:00
neil.williams%sun.com bbb9afe908 r=nelson Bug=263779 2005-03-09 23:02:48 +00:00
nelsonb%netscape.com 4dd0613833 Do not crash if Server SID cache is uninitialized. Bug 237724 r=Julien
Instead, if SSL_NO_CACHE is not set, return an error code.
2005-03-09 05:20:44 +00:00
nelsonb%netscape.com 4805e6c3ab Correctly print cert request attributes in pp. Bug 284191. r=neil.williams 2005-03-08 01:20:04 +00:00
julien.pierre.bugs%sun.com 6e855562d8 Fix for bug 283761 - use of memset in selfserv is inefficient. r=nelson 2005-02-26 04:57:32 +00:00
wtchang%redhat.com 969ae9820b Bugzilla Bug 282527: fixed a bug that prevented certutil from generating
a cert with multiple DNS names in the subjectAltName extension.  The patch
is contributed by Neil Williams of Sun. r=wtc.
2005-02-23 23:44:09 +00:00
wtchang%redhat.com fc1d2da739 Bugzilla Bug 282367: Export CERT_DestroyUserNotice from the nss shared
library.  Added a CERT_DestroyUserNotice call to cmd/lib/pppolicy.c to
fix a leak of CERTUserNotice. r=nelsonb.
Modified Files: lib/nss/nss.def cmd/lib/pppolicy.c
2005-02-22 20:02:22 +00:00
neil.williams%sun.com 41c5cc764f Bug#:280602 Added list option to pk12uti, test for it.
r=nelson@bolyard.com
2005-02-08 01:04:50 +00:00
gerv%gerv.net d6d819dccf Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
wtchang%redhat.com 1f412b9dda Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.
This keyword adds noise to the output of "ident libnss3.so | grep NSS"
on our debug build, and appears to cause spurious CVS conflicts. r=nelsonb.
2005-01-20 02:25:51 +00:00
julien.pierre.bugs%sun.com c24796eb24 Check for NULL PRFileDesc before closing them . r=saul,nelson 2004-12-07 06:25:34 +00:00
wchang0222%aol.com 5dc1ebca59 Removed a useless makefile rule. 2004-11-05 02:46:09 +00:00
wchang0222%aol.com 74b1db2715 Define the macro 'verbose' as -1 to turn all all zlib trace messages in
debug builds.  This is to be consistent with our modifications to the old
zlib (Bugzilla bug 131826).
2004-11-04 16:23:19 +00:00
wchang0222%aol.com 0183604b19 Removed the definition of 'errno' as a global variable for WinCE. Our
WinCE port implements 'errno' as thread local storage.
2004-11-04 06:14:23 +00:00
wchang0222%aol.com 353fa248cc The test programs $(PROGRAMS) need to be added to TARGETS, otherwise
they won't get built and the libs target will fail trying to install them.
2004-11-04 06:09:24 +00:00
wchang0222%aol.com b8053c9d1a Added makefile rules to build the test programs (example and minigzip) and
the test target to run the tests.
Modified Files: Makefile config.mk manifest.mn
2004-11-03 02:17:04 +00:00
wchang0222%aol.com a419aae74d Bugzilla bug 131826: upgraded to zlib 1.2.2. a=relyea,jpierre.
Modified Files:
	README adler32.c compress.c config.mk crc32.c deflate.c
	deflate.h example.c gzio.c inffast.c inffast.h inffixed.h
	inflate.c inftrees.c inftrees.h manifest.mn minigzip.c trees.c
	uncompr.c zconf.h zlib.h zutil.c zutil.h
Added Files:
	crc32.h infback.c inflate.h
Removed Files:
	infblock.c infblock.h infcodes.c infcodes.h infutil.c
	infutil.h makefile.win maketree.c netscape_mods.doc zip16.def
2004-11-02 23:40:10 +00:00
julien.pierre.bugs%sun.com 3d2edcac0f Fix for 266940 . increase MAX_THREADS in selfserv 2004-10-31 00:22:56 +00:00
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 8c20acb833 Remove unused variable 2004-10-07 04:14:18 +00:00
julien.pierre.bugs%sun.com 3ddff636ae Include secmodi.h for SECMOD_NewListLock 2004-10-07 04:08:16 +00:00
julien.pierre.bugs%sun.com c0aa37e404 Remove unused variable 2004-10-07 04:04:25 +00:00
julien.pierre.bugs%sun.com ef4d32c617 Remove unused variables 2004-10-07 04:03:35 +00:00
julien.pierre.bugs%sun.com 74da174aa1 initialize variable 2004-10-07 03:57:19 +00:00
julien.pierre.bugs%sun.com 5307ea40d4 Remove unused variables 2004-10-07 03:56:37 +00:00
julien.pierre.bugs%sun.com 67fe2aac3d Remove unused variable 2004-10-07 03:55:25 +00:00
julien.pierre.bugs%sun.com 0af43dc3b9 Avoid divide by zero iteration 2004-10-01 03:19:30 +00:00
wchang0222%aol.com bbb1157936 Print the error message if NSS_NoDB_Init fails. 2004-09-30 00:49:36 +00:00
nelsonb%netscape.com a099a58062 Fix bugzilla bug 261496. Absent OPTIONAL CHOICEs should not cause fatal
errors.  Fix printing code to not crash on missing optional nextUpdate.
r=julien.pierre
2004-09-27 22:41:41 +00:00
saul.edwards%sun.com 634e43cd1e 245518: Add /usr/lib/mps to RPATH for tools. 2004-09-17 21:59:04 +00:00
relyea%netscape.com e3b2fc3a46 1) Add time command to time specific functions.
2) improve the help system.
3) bug fixes for arrays.
2004-07-30 00:25:21 +00:00
relyea%netscape.com f54cd1c23e Error strings for new error codes. 2004-07-30 00:19:49 +00:00
nelsonb%netscape.com f1060d0bfb Correct option parsing, and add missing error messages. 2004-07-28 21:10:07 +00:00
nelsonb%netscape.com 7e38c3777a Support GeneralizeTime in the CRMF library. Bug 219080. r=julien.
Patch by nelson and julien.
2004-07-27 05:06:02 +00:00
nelsonb%netscape.com 2a84b08103 Use the "c beautifier" (cb) to give this code a common K&R style with
an indentation of 4.  Also rewrap a few strangely wrapped lines.
Bug 249330.
2004-07-16 00:04:47 +00:00
nelsonb%netscape.com c073805446 Apply review feedback to signtool sources. Add test case to QA tests.
Bug 248751.
2004-07-15 22:21:57 +00:00
nelsonb%netscape.com 4ef1db07ed Add -X option to produce signed XPI files for mozilla. Bug 248751.
Path contributed by jeff klawiter <jeff@j-maxx.net>. r=nelson
2004-07-15 00:01:50 +00:00
nelsonb%netscape.com d7befbead9 Output properly encoded PQGParams. r=wtc. Bug 247738. 2004-07-01 02:07:02 +00:00
jpierre%netscape.com 0919d3c3c1 Fix for 249310 - add option to disable SSL2 in selfserv . r=nelson 2004-07-01 02:06:31 +00:00
nelsonb%netscape.com 20fa84590f Fix certutil's ability to read PQG files. Make certutil able to read
the files produced by the command "makepqg -a".  Plug some memory leaks.
r=relyea,vipul  Bug 247739
2004-06-23 22:23:00 +00:00
saul.edwards%sun.com 9c06c058b6 Bug 245518: add RPATH to BUILD_SUN_PKG, add $ORIGIN to rpath 2004-06-19 06:09:03 +00:00
nelsonb%netscape.com bd994e5526 Make crmftest compile and run with NSS 3.10 shared libraries.
Enhance the command line parsing to permit portions of the tests
to be individually selected.  The code still doesn't all run
to completion without errors, but it gets MUCH farther than before.
Bug 244329.
2004-06-03 03:56:48 +00:00
nelsonb%netscape.com 46526575bd a) adds the missing code to put stdin into binary mode.
b) add the -i option to the usage message
c) builds addbuiltins with shared libs
   (includes "nssrenam.h" for some symbols)
d) build addbuiltins as part of the normal builds.
2004-05-25 21:47:44 +00:00
nelsonb%netscape.com 599a63402d Fix crash when array member is used as variable. Bug 243655. r=relyea. 2004-05-22 01:24:22 +00:00
nelsonb%netscape.com df07cea047 Add missing license block. Wrap long lines. Bug 243580. r=relyea. 2004-05-22 00:56:46 +00:00
ian.mcgreer%sun.com 02f1778eca bug 180268, reimplement ssl step-up for builtins 2004-05-17 20:08:38 +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
relyea%netscape.com 19097be494 scripts for pk11util 2004-05-12 23:49:39 +00:00
ian.mcgreer%sun.com 416fa5ef5e program for generating FIPS algorithm test results 2004-05-12 17:30:31 +00:00
relyea%netscape.com c06f7bf9d6 Fix mechanism command. 2004-05-05 00:36:52 +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
relyea%netscape.com b54f0b152a Program to decrypt passwords inline from prefs files 2004-03-23 00:46:38 +00:00
relyea%netscape.com aed0986998 Fix arrays handling strings, and help 2004-03-13 02:44:26 +00:00
jpierre%netscape.com 2e6fe47845 Fix for bug 143456 - add -P option for dbprefix to selfserv . r=MisterSSL 2004-03-10 02:47:13 +00:00
nelsonb%netscape.com 1e6e264133 Import base64 encoded certificate files with old MAC line endings.
Bug 221272. sr=wtc.
2004-02-16 23:52:46 +00:00
wchang0222%aol.com 5f45d77d55 Removed unused function _OS_SELECT for AIX. Thanks to Philip K. Warren
<pkw@us.ibm.com> for reporting this.
2004-02-13 03:13:04 +00:00
jpierre%netscape.com 3d988159e3 Fix strings in SECU_PrintError. bug 233493 2004-02-12 02:08:59 +00:00
jpierre%netscape.com 6cca3beefc Fix for bug 233605 . Check CRL entry extensions after partial decoding. Also add some new CRL decoding errors. r=nelsonb 2004-02-11 06:05:18 +00:00
jpierre%netscape.com 21dcb34f6a Fix for 233493 . Corrections based on Wan-Teh's feedback. 2004-02-11 05:27:32 +00:00
jpierre%netscape.com 3877f51a30 Fix for 233493 - fix symkeyutil build on OS/2. r=relyea 2004-02-10 23:48:37 +00:00
wchang0222%aol.com 48abfb9563 Bugzilla bug 233319: prepend, rather than append, the NSS lib and bin
directories to PATH. r=relyea.
2004-02-09 22:39:11 +00:00
wchang0222%aol.com 8174f82b2a Bugzilla bug 233239: do not include cmd/zlib and cmd/lib headers and
libraries in NSS binary releases.
Modified Files:
	lib/Makefile lib/manifest.mn makepqg/manifest.mn zlib/Makefile
	zlib/manifest.mn
2004-02-07 00:26:02 +00:00
wchang0222%aol.com b8350510e0 Bugzilla bug 233112: fixed a typo: "futuer" -> "future". Thanks to
Heikki Toivonen <hjtoi-bugzilla@comcast.net> for the bug report.
2004-02-05 05:56:54 +00:00
nelsonb%netscape.com eba26f5336 Max crlutil return 0 or 1 correctly, depending on the success of the
operation.  Bug 232937.  r=jpierre.
2004-02-03 06:59:35 +00:00
nelsonb%netscape.com 87037886de Invoke SECU_RegisterDynamicOids() so that more OIDs will print out.
Bug 132942.  a=wtc.
2004-01-29 22:48:58 +00:00
nelsonb%netscape.com 1178524031 Bug 132942. r=wtc
Make the following enhancements to NSS's ASN.1 printing code:
- Print warning messages that are properly indendented.
- PrintAsHex notices when the buffer contains entirely printable characters, and is larger than an int, and prints it as text in that case.
- PrintRawString now indents the string, rather than always printing it on
a separate line.
- now prints decoded bit strings
- now prints BMP (UCS2) strings as strings (not as hex) when they contain only printable ASCII characters.
- now prints Universal (UCS4) Strings as strings (not hex) when they contain only printable ASCII characters.
- Decodes certain encoded data that was previously printed as hex.
- Generically decodes ASN.1 data, rather than merely printing an error, when the ASN.1 data doesn't fit a known template.
- properly handles all optional components of basic constraints extensions.
- Prints the names of the bits in the X509 Key Usage extension.
- Prints General Names.
- Print Auth Key ID extensions
- Print subject and issuer alt name extensions
- Print CRL distribution points extensions
- format and print name constraints extensions
- print Authority Information Access extensions
- Print optional X509v2 subject and issuer Unique ID bit strings
2004-01-29 22:45:20 +00:00
nelsonb%netscape.com 770792a092 Export cert functions that decode extensions and traverse decoded
extensions.  Bug 231881. r= relyea, wtc.
2004-01-28 23:23:45 +00:00
nelsonb%netscape.com 2cd0aefb3a Change program return value to reflect test outcome. Bug 221737. r=wtc 2004-01-28 22:30:27 +00:00
jpierre%netscape.com 9eb7b71e75 Fix for 231051 - crlutil asserts after deleting CRL. r=wtc, nelsonb 2004-01-28 01:17:13 +00:00
nelsonb%netscape.com c3e741505b Add -a option for Base64 encoded ASCII input and output.
The -i and -o options now understand "-" to mean stdin and stdout.
Usage is displayed when -? or no arguments are given.
Bug 231536. r=relyea.
2004-01-22 22:08:59 +00:00
nelsonb%netscape.com 1cf2dd38f1 Fix some erronous code that set SEC_ERROR_NO_MEMORY when there had been
no memory failure.  r=relyea.  Bug 231566
2004-01-22 02:17:26 +00:00
jpierre%netscape.com 3e7249335c Support GeneralizedTime in NSS tools. bug 210530. r=wtc 2004-01-21 01:15:01 +00:00
nelsonb%netscape.com 14c61e40e0 Use the results from PK11_ProtectedAuthenticationPath(slot) in the
password callback function.  Bug 229023. r=relyea.  verified by submittor.
2004-01-21 00:18:59 +00:00
nelsonb%netscape.com c7a655b980 Make this code build on Windows as well as Unix. 2004-01-19 01:05:53 +00:00
nelsonb%netscape.com baa193b610 Add vfychain to list of NSS cmds being built nightly. r=wtc. Bug 231025 2004-01-16 02:03:08 +00:00
relyea%netscape.com 760edf0053 Tool to manage pkcs 11 module tests. 2004-01-14 21:34:20 +00:00
nelsonb%netscape.com b3ec77edc5 Fix double free introduced in rev 1.54. r=wtc. bug 230774.
Bug occurs only in NSS utilities that import base64 encoded files, e.g.
with the -a option.
2004-01-14 01:19:26 +00:00
jpierre%netscape.com cec1dc097b Rename CERT_DecodeTimeChoice/CERT_EncodeTimeChoice to DER_DecodeTimeChoice/DER_EncodeTimeChoice 2004-01-07 23:07:24 +00:00
wchang0222%aol.com 21dc9e9b04 Removed unused variable 'val'. 2003-12-23 21:40:52 +00:00
wchang0222%aol.com ae22e439e8 PK11_MoveKey was renamed PK11_MoveSymKey. r=relyea.
Modified Files: symkeyutil.c nss.def pk11func.h pk11skey.c
2003-12-19 23:29:43 +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
wchang0222%aol.com 873eed9a1b Bugzilla bug 222568: fixed a bug introduced in rev. 1.54. 2003-11-19 01:38:26 +00:00
nelsonb%netscape.com fff129fc2a Fix unnecessary assertion failures occuring in SMIME testing in
debug builds only.  Partial fix for bugscape bug 53775. r=wchang0222
2003-11-18 06:16:26 +00:00
wchang0222%aol.com c31daf7e42 Removed an extraneous comma (,) at the end of an enum type definition. 2003-11-15 16:15:01 +00:00
nelsonb%netscape.com 2bbf4a1e89 Detect empty emailAddr strings in CERTCertificates. Bugzilla bug 211540.
Modified Files:
    cmd/dbck/dbck.c cmd/signtool/util.c lib/certdb/certdb.c
    lib/certdb/stanpcertdb.c lib/pkcs7/p7decode.c lib/pki/certificate.c
    lib/pki/pki3hack.c lib/smime/cmssiginfo.c lib/softoken/pkcs11u.c
2003-11-15 00:10:01 +00:00
relyea%netscape.com 8b98f3daad Fix windows breakage. 2003-11-14 18:06:50 +00:00
relyea%netscape.com 9d169ea136 Add symkeyutil to the manifest file 2003-11-14 03:27:23 +00:00
relyea%netscape.com 6edd6fc183 New tool to manage fixed keys in the database. 2003-11-14 03:26:47 +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
wchang0222%aol.com e395b0a792 Bugzilla bug 225373: the return value of CERT_NameToAscii must be freed
with PORT_Free.
Modified Files:
	cmd/lib/secutil.c cmd/selfserv/selfserv.c
	cmd/signver/pk7print.c cmd/strsclnt/strsclnt.c
	cmd/tstclnt/tstclnt.c lib/certdb/cert.h
2003-11-13 16:10:45 +00:00