7442 Commits

Author SHA1 Message Date
nicolson%netscape.com
fbfa9dd136 Changes for NSS/JSS integration.
git-svn-id: svn://10.0.0.236/trunk@255440 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:48:04 +00:00
nelsonb%netscape.com
2e67c809eb Merge NSS 3.2.1 changes.
git-svn-id: svn://10.0.0.236/trunk@255439 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:48:03 +00:00
relyea%netscape.com
e2571a855c Add wrapper bindings for AES so S/MIME and SSL may implement their AES suites.
git-svn-id: svn://10.0.0.236/trunk@255438 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:48:02 +00:00
relyea%netscape.com
8ce83a6d3b Incorporate Wan-Teh's suggestion of using a typdef for the enum.
Follow the same standard we use elsewhere for enums.


git-svn-id: svn://10.0.0.236/trunk@255437 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:48:01 +00:00
relyea%netscape.com
b82a64c454 Bug 65903: Fixes to allow iWS admin stuff to work with shared library NSS
Add necessary exported symbols.
Fix bug in NSS_Initialize where we weren't passing the read only paramter
	through.
Add function to search for Certificate Lists so that Traverse does not need to
	be exposed.
Update pkcs11 names.


git-svn-id: svn://10.0.0.236/trunk@255436 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:48:00 +00:00
wtc%netscape.com
9b5abb540b Bugzilla bug #65416: assign values explicitly to enumeration constants.
The same values that the compiler would assign are assigned, with only
one exception (cmmfNoPKIStatus in cmmft.h).  This is patch id=22555,
reviewed by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@255435 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:47:59 +00:00
nelsonb%netscape.com
e606731cf3 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.


git-svn-id: svn://10.0.0.236/trunk@255434 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:47:58 +00:00
relyea%netscape.com
ce070b7c81 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@255433 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:47:57 +00:00
relyea%netscape.com
61f9727759 Add SSL and TLS to the slotlist search functions
git-svn-id: svn://10.0.0.236/trunk@255432 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:47:28 +00:00
relyea%netscape.com
5756782aab Initial NSS Open Source Checkin
git-svn-id: svn://10.0.0.236/trunk@255431 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 22:47:27 +00:00
nelson%bolyard.com
2ab43f8f49 Bug 439115: DB merge allows nickname conflicts in merged DB
patch by rrelyea and nelson, r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@255355 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-05 05:02:20 +00:00
slavomir.katuscak%sun.com
eb86d4122e Bug 464223 - Code cleanup for chains and memleak tests. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255354 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-05 01:47:30 +00:00
slavomir.katuscak%sun.com
6f9d0dea0a Bug 467542: Patch to print list of changed files. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255351 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-05 00:28:42 +00:00
rrelyea%redhat.com
3fa63296eb Last Comment Bug 459248 - Support Intel AES extensions.
r=nelsonb

See if Solaris likes this better...


git-svn-id: svn://10.0.0.236/trunk@255344 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-04 18:16:34 +00:00
nelson%bolyard.com
38e223d164 Back out the patch for Bug 439115. It caused test failures on Unix.
git-svn-id: svn://10.0.0.236/trunk@255327 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 22:39:35 +00:00
wtc%google.com
88a1de4a8a Bug 454120: Removed obsolete file coreconf/WINCE3.0.mk. Use a better way
to turn off NSS_BUILD_CAPI for WINCE in nss/lib/ckfw/Makefile.  r=dougt.
Modified Files:
	nss/lib/ckfw/Makefile
Removed Files:
	coreconf/WINCE3.0.mk


git-svn-id: svn://10.0.0.236/trunk@255326 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 18:44:24 +00:00
nelson%bolyard.com
f517d2b4d3 Bug 465926: During import of private keys,set key usage attributes correctly
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@255322 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 08:53:16 +00:00
nelson%bolyard.com
6736881f7a Bug 439115: DB merge allows nickname conflicts in merged DB
Patch by Bob Relyea <rrelyea@redhat.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255321 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 08:04:42 +00:00
nelson%bolyard.com
2342fd8786 Bug 467298: SQL DB code uses "local cache" on local file system, 20x slower
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@255311 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 02:52:30 +00:00
nelson%bolyard.com
63d3aa2a49 Bug 464088: Option to build NSS without dbm (handy for WinCE), r=nelson
git-svn-id: svn://10.0.0.236/trunk@255305 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 00:06:23 +00:00
slavomir.katuscak%sun.com
8d9fb307f8 Bug 464223: Workaround. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255304 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 23:46:23 +00:00
rrelyea%redhat.com
00259831eb Back out previous change. Evidently Tinderbox is using an older version of Linux.
bob


git-svn-id: svn://10.0.0.236/trunk@255303 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 23:44:46 +00:00
nelson%bolyard.com
8060804dc4 Bug 464088: Option to build NSS without dbm (handy for WinCE), r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@255302 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 23:24:53 +00:00
rrelyea%redhat.com
faabce5ec6 bug 467298 Add support for Intel AES
r=nelson

(tested on solaris 10 and RHEL 5).


git-svn-id: svn://10.0.0.236/trunk@255301 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 22:30:50 +00:00
nelson%bolyard.com
3914ca460e Bug 467553: ssl.sh will not run unless NSS_SSL_TESTS is defined to particular strings
r=slavo


git-svn-id: svn://10.0.0.236/trunk@255296 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 17:58:33 +00:00
nelson%bolyard.com
6a50a58da0 Bug 452391: certutil -K incorrectly reports ec private key as an orphan
r=julien


git-svn-id: svn://10.0.0.236/trunk@255295 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 06:54:54 +00:00
nelson%bolyard.com
e25cdff2dd Bug 466180 - SSL server changes for BSD Unix
Patches by Kaspar Brand <mozbugzilla@velox.ch>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255294 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 06:36:59 +00:00
wtc%google.com
30037806c6 Bug 438870: miscellaneous fixes for the FREEBL_NO_DEPEND code. r=rrelyea.
Modified Files:
	freebl_hash.def nsslowhash.c nsslowhash.h stubs.c


git-svn-id: svn://10.0.0.236/trunk@255249 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-27 15:20:44 +00:00
wtc%google.com
60fc6b64f7 Bug 466736: removed dead NSS_USE_64 code. (The NSS_USE_64 macro is only
defined and used in the lib/freebl directory.)  r=alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@255248 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-27 15:09:02 +00:00
alexei.volkov.bugs%sun.com
1cada56cdf 205434 - Fully implement new libPKIX cert verification API from bug 294531. Remove obsolite files.
git-svn-id: svn://10.0.0.236/trunk@255217 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-26 20:14:37 +00:00
wtc%google.com
61e118ece1 Bug 466194: CERT_DecodeTrustString should take a const char * input trusts
string.  r=alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@255173 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-21 21:02:39 +00:00
wtc%google.com
5ef4dc5b70 Bug 454120: removed parentheses that are no longer necessary after
"&& !defined(_WIN32_WCE)" was removed.  r=nelson.
Modified Files:
	sslmutex.c sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@255172 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-21 21:00:13 +00:00
kaie%kuix.de
3d6959ce34 Bug 452855 - README.txt for mozilla/security/nss/tests/
r=wtc


git-svn-id: svn://10.0.0.236/trunk@255164 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-21 15:42:25 +00:00
alexei.volkov.bugs%sun.com
4057251df3 464223 - Certutil didn't accept certificate request to sign. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255161 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 22:30:55 +00:00
glen.beasley%sun.com
a92c36bf98 Bug 465850 - Expose the TLS session ticket extension (STE) r=wan-teh
git-svn-id: svn://10.0.0.236/trunk@255152 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 15:49:43 +00:00
glen.beasley%sun.com
7f16a45054 Bug 347037 - Make shlibsign depend on the softoken only r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@255151 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 15:44:24 +00:00
slavomir.katuscak%sun.com
25481ee502 Bug 464246: Split Tinderbox configuration file. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255150 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 13:23:49 +00:00
slavomir.katuscak%sun.com
8c5a163bae Bug 464907: Patch to log return values. r=alexei
git-svn-id: svn://10.0.0.236/trunk@255149 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 13:13:36 +00:00
nelson%bolyard.com
e61ba41ed5 Back out last patch, because it seems to have made tinderboxes fail on
Windows. Sheriff Nelson


git-svn-id: svn://10.0.0.236/trunk@255148 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 07:37:25 +00:00
nelson%bolyard.com
1ac3bab648 Bug 444850: NSS misbehaves badly in the presence of a disabled PKCS#11 slot
This patch commits the difference between v5 and v6 of the patch named
"create token object, even when there is no session". v6 was r=julien


git-svn-id: svn://10.0.0.236/trunk@255145 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 04:53:44 +00:00
nelson%bolyard.com
7aa2b49d91 Bug 454120: Problems Compiling SECURITY module for WinMobile
Patch by Doug Turner <doug.turner@gmail.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255144 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 04:39:59 +00:00
nelson%bolyard.com
d01e7081c1 Bug 464406: Fix signtool regressions, make signtool work again
part 3 - reenable peer trust flags, r=Alexei


git-svn-id: svn://10.0.0.236/trunk@255143 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 03:52:22 +00:00
nelson%bolyard.com
d23ab8ae4b Bug 464406: Fix signtool regressions, make signtool work again
part 2 - detect missing jar signatures, r=Alexei


git-svn-id: svn://10.0.0.236/trunk@255142 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 03:50:27 +00:00
nelson%bolyard.com
57cce7ecb3 Bug 464406: Fix signtool regressions, make signtool work again
part 1 - Fix signtool -l and -L commands, r=Alexei


git-svn-id: svn://10.0.0.236/trunk@255141 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 03:49:06 +00:00
wtc%google.com
c1c00513fe Bug 390527: include "prprf.h" for PR_snprintf, otherwise the "implicit
function declaration" warnings break the Linux build.  TBR=alexei.volkov.
Modified Files:
	pkix_error.c pkix_logger.c


git-svn-id: svn://10.0.0.236/trunk@255140 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 03:32:20 +00:00
nelson%bolyard.com
9196c7463d Bug 462874: Can not reliably wait for close_notify
Patch by Miloslav Trmac <mitr@redhat.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255138 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 00:45:25 +00:00
alexei.volkov.bugs%sun.com
4d83b9e468 390527 - get rid of pkixErrorMsg variable in PKIX_Error. r=nelson
git-svn-id: svn://10.0.0.236/trunk@255137 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 00:38:14 +00:00
nelson%bolyard.com
7d27f8dad6 Bug 431958: Improve DES and SHA512 for x86_64 platform
Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255132 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 21:10:52 +00:00
nelson%bolyard.com
b0b004906e Bug 465270: uninitialised value in devutil.c::create_object()
Bug 465273: dead assignment in devutil.c::nssSlotArray_Clone()
Patch by Constantine A. Murenin <cnst+bmo@bugmail.mojo.ru>
r=nelson.  Found with LLVM/Clang Static Analyser.


git-svn-id: svn://10.0.0.236/trunk@255130 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 20:44:35 +00:00
christophe.ravel.bugs%sun.com
15ebacce7e Bug 463678 - Need to add RPATH to 64-bit libraries on HP-UX
r=julien


git-svn-id: svn://10.0.0.236/trunk@255128 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 20:09:51 +00:00