2369 Commits

Author SHA1 Message Date
relyea%netscape.com
6e05bd575f Fix compiler warnings.
Use the new Initalization functions for Modules.


git-svn-id: svn://10.0.0.236/trunk@103352 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:44:20 +00:00
relyea%netscape.com
d931f220fc BlapiTest required headers are no longer public. Get them from the
developement directory.


git-svn-id: svn://10.0.0.236/trunk@103350 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:42:54 +00:00
relyea%netscape.com
21438ed487 Fix warnings on Linux, Solaris, AIX, HP.
git-svn-id: svn://10.0.0.236/trunk@103349 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:41:34 +00:00
relyea%netscape.com
42c00a9b16 Export the new initialization functions
git-svn-id: svn://10.0.0.236/trunk@103348 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:40:24 +00:00
relyea%netscape.com
da09c34349 Make sure the Low level initialization function signature match. Include the
header to get the correct prototypes.


git-svn-id: svn://10.0.0.236/trunk@103347 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:39:58 +00:00
relyea%netscape.com
fba56f7d78 Fix warnings on Linux, HP, Solaris, and AIX.
git-svn-id: svn://10.0.0.236/trunk@103346 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:38:26 +00:00
relyea%netscape.com
6d1b3b062a Fix compilier warnings on AIX, Solaris, HP, and Linux.
git-svn-id: svn://10.0.0.236/trunk@103345 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:37:16 +00:00
relyea%netscape.com
236f6cb96c Fix compilier warnings on AIX, HP, Linux, and Solaris.
git-svn-id: svn://10.0.0.236/trunk@103344 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:34:42 +00:00
relyea%netscape.com
c7bce077ad 1) fix compilier warnings on AIX, Solaris, HP, and Linux.
2) remove Dependency on low key structures in the soft token.


git-svn-id: svn://10.0.0.236/trunk@103343 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:30:48 +00:00
relyea%netscape.com
2938d8768c Remove dependancy on direct calls inside softoken.
git-svn-id: svn://10.0.0.236/trunk@103342 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:26:40 +00:00
ian.mcgreer%sun.com
f3b2424469 add the diagram
git-svn-id: svn://10.0.0.236/trunk@103341 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:24:29 +00:00
relyea%netscape.com
bf40d79d07 1) fix warnings on AIX, HP, Linux, and Solaris.
2) Move private functions into private headers.

3) Sharpen the layer separation between NSS components, especially pkcs #12
and soft token.

4) Remove dead code.


git-svn-id: svn://10.0.0.236/trunk@103340 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:23:51 +00:00
ian.mcgreer%sun.com
bc5bdc252d add a trust domain diagram; suggestion for cert hash
git-svn-id: svn://10.0.0.236/trunk@103339 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:22:08 +00:00
relyea%netscape.com
285df75582 1) Fix Solaris, AIX, HP, and Linux warnings. Several were potential real
problems (mostly uninitialized variables in error cases).

2) Start separating softoken from the rest of NSS where appropriate (finish
separating out the key stuff, the cert stuff is coming).

3) Make the prototypes between the new functions consistant.


git-svn-id: svn://10.0.0.236/trunk@103338 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:05:53 +00:00
ian.mcgreer%sun.com
159f90e97a put in a test for search by nickname
git-svn-id: svn://10.0.0.236/trunk@103337 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:41:52 +00:00
ian.mcgreer%sun.com
38f6811a67 some cleanup; use list for modules
git-svn-id: svn://10.0.0.236/trunk@103336 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:40:03 +00:00
ian.mcgreer%sun.com
0e75bc6671 some cleanup; collect token certs in a list
git-svn-id: svn://10.0.0.236/trunk@103335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:38:08 +00:00
ian.mcgreer%sun.com
6e9433a3f4 some cleanup in the list code
git-svn-id: svn://10.0.0.236/trunk@103334 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:33:27 +00:00
nicolson%netscape.com
7466c08078 Fix 100796: calling undeclared functions breaks AIX build
Workaround 100791: misspelled function prototypes in pk11func.h


git-svn-id: svn://10.0.0.236/trunk@103333 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 19:16:51 +00:00
ian.mcgreer%sun.com
951cdd10fc disable AES for blocksizes > 128 until it is fixed.
git-svn-id: svn://10.0.0.236/trunk@103323 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:11:08 +00:00
wtc%netscape.com
32657f6603 Bugzilla bug 77788: checked in the bug fix again now that the manifest.mn
file that incorrectly set CFLAGS has been fixed.


git-svn-id: svn://10.0.0.236/trunk@103319 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 14:27:54 +00:00
nelsonb%netscape.com
a8c509b734 Generate larger block of key material correctly for SSL3 as well as TLS.
Add assert to detect if key material is ever too small again.


git-svn-id: svn://10.0.0.236/trunk@103273 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 04:36:14 +00:00
nelsonb%netscape.com
0a9d418750 Increase the amount of key material derived from the master secret to that
it will be enough for AES with 256-bit keys.


git-svn-id: svn://10.0.0.236/trunk@103268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 03:55:16 +00:00
nelsonb%netscape.com
05dd12251a Fix pk11_DecryptInit for AES. It was telling AES to encrypt, not decrypt.
git-svn-id: svn://10.0.0.236/trunk@103262 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:56:18 +00:00
ian.mcgreer%sun.com
c95b1f54fe checkin of threadsafe hashtable; copied from ckfw/hash.c but using NSS types
git-svn-id: svn://10.0.0.236/trunk@103241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:28:36 +00:00
mcgreer%netscape.com
256bdc1d8f match changes in dev, implement lookup by nickname for testing
git-svn-id: svn://10.0.0.236/trunk@103227 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:49:52 +00:00
mcgreer%netscape.com
224311fbd6 the device API is not public, so move:
NSSModule_ ==> nssModule_
NSSSlot_   ==> nssSlot_
NSSToken_  ==> nssToken
Functions which should be public can be changed individually.


git-svn-id: svn://10.0.0.236/trunk@103226 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:47:23 +00:00
mcgreer%netscape.com
2c10ed3f44 use the list to collect certs
git-svn-id: svn://10.0.0.236/trunk@103225 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:37:21 +00:00
mcgreer%netscape.com
24b949d0b3 initial checkin of threadsafe list
git-svn-id: svn://10.0.0.236/trunk@103221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:20:06 +00:00
mcgreer%netscape.com
bf22305f42 first cut at password handling. todo: implement transaction-based passwords (at a higher level?)
git-svn-id: svn://10.0.0.236/trunk@103213 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 19:08:32 +00:00
cls%seawood.org
eda06e15a6 Updating security/ REQUIRES.
Bug #98371 moa=kaie r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103146 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:01:47 +00:00
mcgreer%netscape.com
3fe2b80569 cleanup; match changes to dev/; update doc
git-svn-id: svn://10.0.0.236/trunk@103105 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 20:55:01 +00:00
mcgreer%netscape.com
bfe5a4a03b cleanup; add nssSession type to allow multiple sessions accessing the token API
git-svn-id: svn://10.0.0.236/trunk@103104 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 20:54:28 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
nelsonb%netscape.com
838aefdfe7 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
Also, reduce size of SSL server session cache on disk.


git-svn-id: svn://10.0.0.236/trunk@103059 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:05:08 +00:00
nelsonb%netscape.com
65c1d8ebc2 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
git-svn-id: svn://10.0.0.236/trunk@103058 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:02:05 +00:00
nelsonb%netscape.com
c38ee88985 Implement new function SSL_GetChannelInfo(). Bugzilla bug 78959.
git-svn-id: svn://10.0.0.236/trunk@103057 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:59:21 +00:00
rangansen%netscape.com
1fcb4bc2c8 r=ddrinan sr=kin@netscape.com
bug# 99719; patch to regression on dialog window


git-svn-id: svn://10.0.0.236/trunk@103056 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:50:28 +00:00
ddrinan%netscape.com
fb8158f193 Fix build bustage for rpotts. Removed GetProtocolHandler() method
git-svn-id: svn://10.0.0.236/trunk@103048 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 00:20:16 +00:00
mcgreer%netscape.com
eee6e64a55 add suggestion about new NSSSession type; crypto context question
git-svn-id: svn://10.0.0.236/trunk@103020 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 22:14:55 +00:00
wtc%netscape.com
a283fa5a06 lla bug 98371: specify the NSPR and DBM include directories using
MOZILLA_INCLUDES instead of SOURCE_MDHEADERS_DIR.


git-svn-id: svn://10.0.0.236/trunk@103017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:55:25 +00:00
gerv%gerv.net
4aac52fcb9 Prevent security dialogs being untitled. Bug 99845. r=timeless. rs=brendan with his magic string-only-changes rubberstamp.
git-svn-id: svn://10.0.0.236/trunk@102989 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 23:27:11 +00:00
jaggernaut%netscape.com
ddbe957f8b Bug 99876: <spring/> --> <spacer/>. r=mozbot
git-svn-id: svn://10.0.0.236/trunk@102985 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 14:39:37 +00:00
kaie%netscape.com
5355c98172 b=99525 r=ddrinan/morse/relyea sr=blizzard
Completing feature added with bug 96018.


git-svn-id: svn://10.0.0.236/trunk@102924 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:19:29 +00:00
mcgreer%netscape.com
f49abbf1a2 work-in-progress document for stan development
git-svn-id: svn://10.0.0.236/trunk@102921 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 19:01:56 +00:00
mcgreer%netscape.com
cf2aaa9018 initial checkin of pkiutil.
git-svn-id: svn://10.0.0.236/trunk@102919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:58 +00:00
mcgreer%netscape.com
c280ddbd94 initial checkin of the new command library.
git-svn-id: svn://10.0.0.236/trunk@102918 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:37 +00:00
mcgreer%netscape.com
9e7d9cfbc0 make stan buildable using BUILD_STAN variable
git-svn-id: svn://10.0.0.236/trunk@102917 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:07:54 +00:00
bryner%netscape.com
a1a013a1fa Bug 73353 - clean up REQUIRES. patch from jag, r=bryner, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@102904 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:55:50 +00:00
sonmi%netscape.com
8c5d584c57 forgot this in the last checkin - added Solaris 9, fixed 2 bugs
git-svn-id: svn://10.0.0.236/trunk@102897 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 01:05:06 +00:00