1687 Commits

Author SHA1 Message Date
nicolson%netscape.com
82bdd6b048 NSS_Init* are idempotent, so don't check for NSS being initialized before
calling them.


git-svn-id: svn://10.0.0.236/trunk@96975 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:26:03 +00:00
nicolson%netscape.com
7a9a4d6ca5 Move new symbols to NSS 3.3 section of smime.def.
git-svn-id: svn://10.0.0.236/trunk@96974 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:25:32 +00:00
nicolson%netscape.com
ea55fd929f Make NSS_Init* idempotent.
Move new symbols to NSS 3.3 section of nss.def.


git-svn-id: svn://10.0.0.236/trunk@96973 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:25:13 +00:00
nicolson%netscape.com
1431833f7f isCACert should be CERT_IsCACert
git-svn-id: svn://10.0.0.236/trunk@96970 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 21:25:07 +00:00
nicolson%netscape.com
92d2fad05c More NSS integration.
git-svn-id: svn://10.0.0.236/trunk@96968 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 21:11:33 +00:00
nicolson%netscape.com
045745acdd Changes for NSS/JSS integration.
git-svn-id: svn://10.0.0.236/trunk@96967 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 20:57:20 +00:00
nelsonb%netscape.com
611ba43412 Add two new functions to permit application tuning of the number of SSL
server session cache locks.  We may yet decide to back this out for the
NSS 3.3 release.  Modified Files: ssl.def ssl.h sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@96958 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 20:27:12 +00:00
mcgreer%netscape.com
f4ff1eee6b fix for bug 82560, canceling pkcs12 backup requires two clicks
r=javi, sr=blizzard, a=asa


git-svn-id: svn://10.0.0.236/trunk@96935 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:57:48 +00:00
mcgreer%netscape.com
84672ab7d8 fix for bug #83160, change master password broken
r=javi, sr=blizzard, a=asa


git-svn-id: svn://10.0.0.236/trunk@96933 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:52:20 +00:00
sonmi%netscape.com
a9c16d4025 fixed one more "where is MKS installed" problem
git-svn-id: svn://10.0.0.236/trunk@96912 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 01:26:13 +00:00
sonmi%netscape.com
98c344eef3 added binary compatibility tests for Solaris x86
git-svn-id: svn://10.0.0.236/trunk@96911 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 01:25:04 +00:00
nelsonb%netscape.com
54469bf7dd Use NSPR's Atomic increment and decrement functions in the simulated
Posix semaphore code to make the non-contention case really fast.
Modified Files: sslmutex.c sslmutex.h


git-svn-id: svn://10.0.0.236/trunk@96909 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 01:10:01 +00:00
sonmi%netscape.com
e1586e714b removed RH 6.0, 6.1 and OSF1 4.0
git-svn-id: svn://10.0.0.236/trunk@96908 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 00:14:05 +00:00
sonmi%netscape.com
a3b1c53377 took out the 64 bit HW accelerator tests (did not find libraries)
git-svn-id: svn://10.0.0.236/trunk@96891 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 21:25:43 +00:00
javi%netscape.com
88ef0e46b1 Fix for Bug 84057 r=ddrinan, sr=blizzard, a=asa
Fix for crasher if doing SSL with a site whose certificate
  was issued by a cert with a non-ASCII character in its
  subject name.  We now get the peer's certificate from the
  SSL libraries instead of trying to re-parse the UTF8 string
  (which NSS doesn't like) into the CERTName structure that's
  already in the certificate.


git-svn-id: svn://10.0.0.236/trunk@96862 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 17:32:31 +00:00
nicolson%netscape.com
0a1bae82aa NSS/JSS integration.
git-svn-id: svn://10.0.0.236/trunk@96840 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 05:15:49 +00:00
nicolson%netscape.com
c2b3b0cbe7 Let's try it with a tab instead of 4 spaces.
git-svn-id: svn://10.0.0.236/trunk@96836 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 23:06:37 +00:00
nicolson%netscape.com
a10376da47 Export pk11pqg.h, so I can call these functions from JSS.
git-svn-id: svn://10.0.0.236/trunk@96835 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 23:05:01 +00:00
javi%netscape.com
dcbb6be0e8 Fix for Bug 81851 patch provided byg Aleksey Nogin
r=javi, sr=blizzard, a=asa

  Thou shalt not return un-initialized variables.  (Returns a
  constant nsresult in the 2 places where it was returning rv
  before.)


git-svn-id: svn://10.0.0.236/trunk@96818 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 17:06:53 +00:00
nelsonb%netscape.com
e4aee1e624 Reduce warnings on Unix platforms that don't like bitfields in chars.
git-svn-id: svn://10.0.0.236/trunk@96787 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 19:45:22 +00:00
nelsonb%netscape.com
4d7b87db53 Fix two bugs found in nightly QA. On Solaris/x86, don't assert that the
sid cache entry is a multiple of 8 bytes long.  On OSF1, reduce the
maximum number of POSIX semaphores so it doesn't exceed the per-process
limit of 256.


git-svn-id: svn://10.0.0.236/trunk@96786 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 19:30:21 +00:00
wtc%netscape.com
0de96f1922 Bugzilla bug #84918: checked in Linux/ia64 porting patch from
Bill Nottingham <notting@redhat.com>.
Modified files: coreconf/Linux.mk, nss/tests/common/arch.sh


git-svn-id: svn://10.0.0.236/trunk@96783 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 17:14:59 +00:00
nelsonb%netscape.com
e94d4a0a95 Change ssl_Time() to use time() instead of PR_Now on systems that have it.
git-svn-id: svn://10.0.0.236/trunk@96769 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 03:20:13 +00:00
nelsonb%netscape.com
3959edfa77 3 Changes:
1. New SSL server session cache implementation that uses finer grained
locking to reduce lock contention, and does 128-way associative caching.
2. rename symbol SSL_SESSIONID_BYTES to SSL2_SESSIONID_BYTES.
3. Work around compiler bug on Solaris i386.
Modified Files:
    manifest.mn sslcon.c sslimpl.h sslsecur.c sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@96768 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 03:18:09 +00:00
nelsonb%netscape.com
5c36fcf24a Portable POSIX-like unnamed semaphores that work in process-shared memory.
git-svn-id: svn://10.0.0.236/trunk@96676 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:56:31 +00:00
sonmi%netscape.com
dd1be9a573 fixed a few strings that were not under ""
git-svn-id: svn://10.0.0.236/trunk@96670 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 01:51:59 +00:00
javi%netscape.com
aa08699e47 Fix for Bug 64888 r=wtc, sr=blizzard, a=asa
Retry an SSL connection if we fail during first write after a successful connect since it's most likely due to a TLS intolerant server


git-svn-id: svn://10.0.0.236/trunk@96661 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 00:50:32 +00:00
relyea%netscape.com
3a2e90e473 fix spelling of PK11_PQG_GenSeed*()
git-svn-id: svn://10.0.0.236/trunk@96656 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 21:52:07 +00:00
relyea%netscape.com
87a95ed006 Add PQG, spki, and some misch functions that JSS needs.
git-svn-id: svn://10.0.0.236/trunk@96654 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 21:51:29 +00:00
relyea%netscape.com
8edc5af368 Add Stub functions for PQG functions (until we implent PQG through the PKCS #11 interface).
git-svn-id: svn://10.0.0.236/trunk@96653 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 21:48:35 +00:00
relyea%netscape.com
9311bd321a Add function to encode a SPKI structure.
git-svn-id: svn://10.0.0.236/trunk@96652 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 21:47:29 +00:00
nicolson%netscape.com
55834e7b7d no more hclhacks now that we've integrated NSS with JSS.
git-svn-id: svn://10.0.0.236/trunk@96635 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-07 18:42:38 +00:00
relyea%netscape.com
760b266ab2 Add new dercert functions for JSS.
git-svn-id: svn://10.0.0.236/trunk@96574 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:45:27 +00:00
relyea%netscape.com
a977a4b4e3 Add DER version of key for cert exists for JSS.
git-svn-id: svn://10.0.0.236/trunk@96572 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:41:24 +00:00
relyea%netscape.com
3577c25c62 Add DER version of isCA for JSS.
git-svn-id: svn://10.0.0.236/trunk@96571 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:40:51 +00:00
nelsonb%netscape.com
c2cec26b16 Fix bug 522 for NSS trunk.
git-svn-id: svn://10.0.0.236/trunk@96549 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 20:25:06 +00:00
wtc%netscape.com
30d9ff478a Bugzilla bug #77884: fixed discrepancy between the size of an array and
the variable that represents the array size.  Let the compiler compute
the value for us instead of using hardcoded constants.  Thanks to
andrew@fernandes.org for reporting and tracking down this bug.


git-svn-id: svn://10.0.0.236/trunk@96538 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 17:00:51 +00:00
nicolson%netscape.com
14c3594b31 Change initialize arguments.
Specify key usage when unwrapping a symmetric key.


git-svn-id: svn://10.0.0.236/trunk@96392 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:01:23 +00:00
nicolson%netscape.com
b338e56520 Remove NSS private functions.
git-svn-id: svn://10.0.0.236/trunk@96390 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:47 +00:00
nicolson%netscape.com
1da4a4bea6 Remove private NSS functions.
Specify a key usage when unwrapping a symmetric key.


git-svn-id: svn://10.0.0.236/trunk@96388 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:05 +00:00
nicolson%netscape.com
b4bb444c9a key usages for unwrapping.
git-svn-id: svn://10.0.0.236/trunk@96386 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:59:29 +00:00
nicolson%netscape.com
360c806e41 When unwrapping a symkey, specify a usage. This is to conform
to NSS's api.


git-svn-id: svn://10.0.0.236/trunk@96385 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:59:12 +00:00
nicolson%netscape.com
1b5ad8e2c6 Add JSS_symkeyUsage table.
git-svn-id: svn://10.0.0.236/trunk@96384 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:58:38 +00:00
wtc%netscape.com
66e9f7aceb Bugzilla bug #83811: added a new implicit rule to build BUILT_CSRCS
because VPATH or vpath doesn't search in a directory that doesn't
exist at the beginning of a make invocation even if it is created
by the make invocation.
Modified files: coreconf/rules.mk, nss/lib/fortcrypt/swfort/manifest.mn


git-svn-id: svn://10.0.0.236/trunk@96373 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:32:14 +00:00
nelsonb%netscape.com
50cb1eea79 Fix bug that caused version number to be wrong in SSL3 client hellos
when restarting an SSL3 (not TLS) session.  (no bug number)


git-svn-id: svn://10.0.0.236/trunk@96372 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:26:37 +00:00
wtc%netscape.com
d723befbf4 The rule for creating nslib.c does not need to be a double-colon rule.
Modified it to use automatic variables ($+ and $@) instead of hardcoded
file names.


git-svn-id: svn://10.0.0.236/trunk@96258 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-03 05:36:28 +00:00
wtc%netscape.com
a3c603d832 Simplified the nss_build_all and nss_RelEng_bld rules; they don't
need to create recursive make processes.


git-svn-id: svn://10.0.0.236/trunk@96257 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-03 05:28:18 +00:00
wtc%netscape.com
4ed17b464a Must use := to define OS_RELEASE in terms of itself.
git-svn-id: svn://10.0.0.236/trunk@96247 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-03 02:42:48 +00:00
wtc%netscape.com
336ac4034b Bugzilla bug #83811: deleted the useless vpath %.c $(OBJDIR) because
OBJDIR is not defined yet.  Restored VPATH = $(OBJDIR) as a temp
workaround.  Also deleted GARBAGE = nslib.c, which is no longer
correct.


git-svn-id: svn://10.0.0.236/trunk@96241 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 15:59:58 +00:00
wtc%netscape.com
05c1b7e5ee Deleted redundant VPATH because vpath is enough.
git-svn-id: svn://10.0.0.236/trunk@96230 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 06:12:29 +00:00