542 Commits

Author SHA1 Message Date
sandeep.konchady%sun.com
0f613a5585 Bugzilla bug: 324451. Changed JSS version to 4.2.3. sr=glen, r=alexei
git-svn-id: svn://10.0.0.236/trunk@188707 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 23:18:57 +00:00
sandeep.konchady%sun.com
08ed8be5f3 Bugzilla bug: 316629. Increased SSLServerSocket timeout from 15 sec to
90 sec. Smaller timeout was causing the server to die before client connected.
sr=glen.beasley r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@188072 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 00:42:48 +00:00
sandeep.konchady%sun.com
024c8767d9 Bugzilla bug: 320980. Updated common.c and upgraded the JSS version.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@186377 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 18:39:24 +00:00
christophe.ravel.bugs%sun.com
7f47075302 Current version is JSS 4.2.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@186074 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 19:53:48 +00:00
sandeep.konchady%sun.com
07d5ece206 Bugzilla bug: 318133
Added synchronized block and isClosed for getInetAddress(),
getLocalAddress(), and getLocalPort(). sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@185410 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 22:40:28 +00:00
sandeep.konchady%sun.com
b1d93cf772 Bugzilla bug:310491
Missed some System.exit(0) and reverted SigTest.java to original format.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@185227 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 23:40:26 +00:00
glen.beasley%sun.com
9bfcc9de4d 313798 AES and RC2 Mozilla-JSS fixes r=sandeep, sr=wan-teh
git-svn-id: svn://10.0.0.236/trunk@184958 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-19 00:20:53 +00:00
sandeep.konchady%sun.com
d6077c6bb5 Bugzilla id:314098 Modified JSS_VERSION to reflect 4.0200 for 4.2 and
4.1001 for 4.10.1 when used in the constructor. Human readable values
will still be 4.2 or 4.10.1 sr=wtc


git-svn-id: svn://10.0.0.236/trunk@184942 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 22:09:39 +00:00
christophe.ravel.bugs%sun.com
3aa2615623 238319: Sun packages changes.
RPM_RELEASE can be set from the command line.


git-svn-id: svn://10.0.0.236/trunk@184938 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 21:54:17 +00:00
glen.beasley%sun.com
55d18f7d3e 311934 socket port values are hard coded in the tests sr=sandeepK
git-svn-id: svn://10.0.0.236/trunk@184827 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 18:34:31 +00:00
wtchang%redhat.com
fcbbafeb9c Bugzilla bug 316594: print the value of the BUILD_OPT environment
variable. r=sandeep.konchady. sr=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@184732 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 00:01:32 +00:00
sandeep.konchady%sun.com
7d20a14abb Bugzilla bug: 310491
Added System.exit(0) and System.exit(1) where appropriate.  Also removed
references to deprecated code and deprecated the test SigTest.java. This
is now replaced by JCASigTest.java. sr=Glen.Beasley


git-svn-id: svn://10.0.0.236/trunk@184609 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:23:13 +00:00
wtchang%redhat.com
23829e4efa Bugzilla Bug 315496: expose the ability to create sensitive or insensitve
symmetric keys and public/private key pairs.  The patch is contributed by
Thomas Kwan of Red Hat. r=wtc. sr=glen.beasley.
Modified Files:
	org/mozilla/jss/crypto/KeyGenerator.java
	org/mozilla/jss/crypto/KeyPairGenerator.java
	org/mozilla/jss/crypto/KeyPairGeneratorSpi.java
	org/mozilla/jss/pkcs11/PK11KeyGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyGenerator.java
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.java


git-svn-id: svn://10.0.0.236/trunk@184603 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:15:06 +00:00
sandeep.konchady%sun.com
2ae50693ed Bugzilla bug: 314098
Rounding of double(4) + double(1)/10 to two decimal places gives 4.21.
Fixed this issue.  sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@184595 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:37:32 +00:00
christophe.ravel.bugs%sun.com
f7845b2049 238319: Sun packages changes
Reset rpm release to 1 for JSS 4.2


git-svn-id: svn://10.0.0.236/trunk@184256 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 20:19:05 +00:00
glen.beasley%sun.com
a574295133 313176 jss version 4.2 because JSS needs NSS 3.11 and up for bypass sr=sandeep
git-svn-id: svn://10.0.0.236/trunk@184161 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:16:43 +00:00
glen.beasley%sun.com
297b6ed254 311934 added PORT_JSSE_SERVER and PORT_JSSE_SERVER plus testing bypass r=sandeep
git-svn-id: svn://10.0.0.236/trunk@184118 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:30:38 +00:00
glen.beasley%sun.com
fd3448b934 313176 allow JSS to enable more NSS SSLOptions r=wtc, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@184117 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:09:26 +00:00
wtchang%redhat.com
f56aeb7886 Import NSPR 4.6 and NSS 3.10.2 temporarily. We will import NSPR 4.6.1
and NSS 3.11 when they are released.


git-svn-id: svn://10.0.0.236/trunk@183352 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 19:00:12 +00:00
wtchang%redhat.com
39b267f17e Bugzilla Bug 308242: expose the opFlags and the temporary/permanent
attributes of PK11_TokenKeyGenWithFlags. r=glen.beasley.
Modified Files:
	crypto/KeyGenerator.java crypto/SymmetricKey.java
	pkcs11/PK11KeyGenerator.c pkcs11/PK11KeyGenerator.java


git-svn-id: svn://10.0.0.236/trunk@183350 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 18:38:47 +00:00
sandeep.konchady%sun.com
50e14956b3 Bugzila bug : 314098 Changed Double to Double.doubleValue() in constructing java.Security.Provider(). sr=wtc
git-svn-id: svn://10.0.0.236/trunk@183215 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 22:22:44 +00:00
sandeep.konchady%sun.com
dd1fad01e9 Bugzilla bug : 314098. Modified JSS provider version to 4.1.1 in
JSSProvider.java. Reflected this information in all places that needs
to be changed when there is a change in JSS version. r=wtc


git-svn-id: svn://10.0.0.236/trunk@183173 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 04:21:16 +00:00
wtchang%redhat.com
f6e4b33a34 Bugzilla Bug 308242: added the extractablePairs method to KeyPairGenerator
to make the new PK11_ATTR_EXTRACTABLE/PK11_ATTR_UNEXTRACTABLE flags of the
new PK11_GenerateKeyPairWithFlags function available to JSS.  r=nkwan.
sr=glen.beasley.
Modified Files:
        crypto/KeyPairGenerator.java crypto/KeyPairGeneratorSpi.java
        pkcs11/PK11KeyPairGenerator.c pkcs11/PK11KeyPairGenerator.java


git-svn-id: svn://10.0.0.236/trunk@183140 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 20:47:26 +00:00
wtchang%redhat.com
2fecfe5e53 Bugzilla bug 312774: support building and running the test with IBM JDK.
Removed the class name and provider name of the SUN provider.  Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm.  The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@182517 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:17:44 +00:00
glen.beasley%sun.com
52e028d6e9 171027 removed deprecated code from tests ran by all.pl sr=sandeep
git-svn-id: svn://10.0.0.236/trunk@181664 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 17:09:03 +00:00
christophe.ravel.bugs%sun.com
361779cc16 238319: Sun packages changes.
Add an extra line to the copyright file to have the same as NSS and NSPR.


git-svn-id: svn://10.0.0.236/trunk@181257 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 01:56:59 +00:00
sandeep.konchady%sun.com
90e233f471 Bugzilla Bug 164692 SSL ops that timeout should throw
java.net.SocketTimeoutException. sr=Glen.Beasley


git-svn-id: svn://10.0.0.236/trunk@181211 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 18:48:34 +00:00
wtchang%redhat.com
d98c40c35f Bugzilla bug 309640: replaced the French accented a (à) with ASCII a
because IBM JDK can't handle that 8-bit character in UTF8 locales.  The
patch is contributed by Rich Megginson of Red Hat. r=wtc,glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@180806 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 17:58:35 +00:00
christophe.ravel.bugs%sun.com
4c1cd4934a Unset Beta flag to sync up JSS 4.1.1 RTM with NSS 3.10.2 RTM build date.
git-svn-id: svn://10.0.0.236/trunk@180770 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 21:06:54 +00:00
sandeep.konchady%sun.com
9cf264b0d1 Modified import.pl, jdk.mk and release.pl under coreconf and all.pl under
jss test directory for bug #302550.  Attached below is the diff of the
changes done to these files.

Index: coreconf/import.pl
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/import.pl,v
retrieving revision 1.2
diff -u -r1.2 import.pl
--- coreconf/import.pl  25 Apr 2004 15:02:17 -0000      1.2
+++ coreconf/import.pl  15 Sep 2005 18:37:51 -0000
@@ -46,7 +46,6 @@

 #######-- read in variables on command line into %var

-$var{ZIP} = "zip";
 $var{UNZIP} = "unzip -o";

 &parse_argv;
Index: coreconf/jdk.mk
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/jdk.mk,v
retrieving revision 1.14
diff -u -r1.14 jdk.mk
--- coreconf/jdk.mk     25 Apr 2004 15:02:17 -0000      1.14
+++ coreconf/jdk.mk     15 Sep 2005 18:37:52 -0000
@@ -123,14 +123,14 @@

 # set [Sun Solaris] platforms
 ifeq ($(OS_ARCH), SunOS)
-       JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
+       JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar

        ifeq ($(JRE_HOME),)
                JRE_HOME = $(JAVA_HOME)
                JRE_CLASSES = $(JAVA_CLASSES)
        else
                ifeq ($(JRE_CLASSES),)
-                       JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
+                       JRE_CLASSES = $(JRE_HOME)/lib/rt.jar
                endif
        endif

@@ -144,9 +144,13 @@

        # (3) specify "linker" information
 ifeq ($(USE_64), 1)
-       JAVA_CPU = $(shell uname -p)v9
+       ifeq ($(CPU_ARCH), x86_64)
+               JAVA_CPU = amd64
+       else
+               JAVA_CPU := $(shell uname -p)v9
+       endif
 else
-       JAVA_CPU = $(shell uname -p)
+       JAVA_CPU := $(shell uname -p)
 endif

 ifeq ($(JDK_VERSION), 1.1)
@@ -163,8 +167,6 @@
 ifneq ($(JDK_VERSION), 1.1)
 ifeq ($(USE_64), 1)
        JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server
-else
-       JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic
 endif
        JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)
        JAVA_LIBS += -ljvm -ljava
@@ -220,14 +222,14 @@

 # set [Redhat Linux] platforms
 ifeq ($(OS_ARCH), Linux)
-       JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
+       JAVA_CLASSES = $(JAVA_HOME)/jre/lib/rt.jar

        ifeq ($(JRE_HOME),)
                JRE_HOME = $(JAVA_HOME)
                JRE_CLASSES = $(JAVA_CLASSES)
        else
                ifeq ($(JRE_CLASSES),)
-                       JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
+                       JRE_CLASSES = $(JRE_HOME)/jre/lib/rt.jar
                endif
        endif

@@ -241,16 +243,21 @@

        # (3) specify "linker" information
        JAVA_CPU = i386
-
+       ifeq ($(CPU_ARCH),x86_64)
+               ifeq ($(USE_64), 1)
+                       JAVA_CPU = amd64
+               else
+                       JAVA_CPU = i386
+               endif
+       endif
        JAVA_LIBDIR = jre/lib/$(JAVA_CPU)

        JAVA_CLIBS =

         ifeq ($(JDK_VERSION), 1.4)
-           JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server -ljvm
-        else
-           JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
+               JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server -ljvm
        endif
+
        JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
        JAVA_LIBS += $(JAVA_CLIBS)

Index: coreconf/release.pl
===================================================================
RCS file: /cvsroot/mozilla/security/coreconf/release.pl,v
retrieving revision 1.3
diff -u -r1.3 release.pl
--- coreconf/release.pl 25 Apr 2004 15:02:17 -0000      1.3
+++ coreconf/release.pl 15 Sep 2005 18:37:52 -0000
@@ -41,7 +41,14 @@

 #######-- read in variables on command line into %var

-$var{ZIP} = "zip";
+$use_jar = 1;
+$ZIP     = "$ENV{JAVA_HOME}/bin/jar";
+
+if ( $ENV{JAVA_HOME} eq "" ) {
+    $ZIP      = "zip";
+    $use_jar  = 0;
+}
+

 &parse_argv;

@@ -56,11 +63,15 @@

     ($jardir,$jaropts) = split(/\|/,$jarinfo);

-    $zipoptions = "-T";
-    if ($jaropts =~ /a/) {
-       if ($var{OS_ARCH} eq 'WINNT') {
-           $zipoptions .= ' -ll';
-       }
+    if ( $use_jar ) {
+        $zipoptions = "-cvf";
+    } else {
+        $zipoptions = "-T -r";
+        if ($jaropts =~ /a/) {
+            if ($var{OS_ARCH} eq 'WINNT') {
+                $zipoptions .= ' -ll';
+            }
+        }
     }

 # just in case the directory ends in a /, remove it
@@ -117,8 +128,8 @@
        }
        closedir(DIR);

-       print STDERR "zip $zipoptions -r $jarfile $filelist\n";
-       system("zip $zipoptions -r $jarfile $filelist");
+       print STDERR "$ZIP $zipoptions $jarfile $filelist\n";
+       system("$ZIP $zipoptions $jarfile $filelist");
        rmdir("META-INF");
            for $i (1 .. $dirdepth) {
            chdir("..");
Index: jss/org/mozilla/jss/tests/all.pl
===================================================================
RCS file: /cvsroot/mozilla/security/jss/org/mozilla/jss/tests/all.pl,v
retrieving revision 1.22
diff -u -r1.22 all.pl
--- jss/org/mozilla/jss/tests/all.pl    6 Sep 2005 17:57:40 -0000       1.22
+++ jss/org/mozilla/jss/tests/all.pl    15 Sep 2005 18:37:54 -0000
@@ -136,12 +136,26 @@
         exit(1);
     }

+    #
+    # Use 64-bit Java on AMD64.
+    #
+
     $java = "$ENV{JAVA_HOME}/jre/bin/java$exe_suffix";
+    my $java_64bit = 0;
+    if ($osname eq "SunOS") {
+       if ($ENV{USE_64}) {
+           my $cpu = `/usr/bin/isainfo -n`;
+           if ($cpu == "amd64") {
+               $java = "$ENV{JAVA_HOME}/jre/bin/amd64/java$exe_suffix";
+               $java_64bit = 1;
+           }
+       }
+    }
     (-f $java) or die "'$java' does not exist\n";
     $java = $java . $ENV{NATIVE_FLAG};

-    if ($ENV{USE_64}) {
-        $java = $java . " -d64";
+    if ($ENV{USE_64} && !$java_64bit) {
+       $java = $java . " -d64";
     }

     $pwfile = "passwords";


git-svn-id: svn://10.0.0.236/trunk@180343 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:33:23 +00:00
christophe.ravel.bugs%sun.com
95702d1bca 238319: Sun packages changes.
Install 64 bit libraries in lib64 on Linux.


git-svn-id: svn://10.0.0.236/trunk@179869 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 22:23:54 +00:00
glen.beasley%sun.com
b61aaae709 306114 enable/disable FIPS modes files: CryptoManager.c, tests/all.pl, tests/FipsTest.java r=sandeep,sr=wtc
git-svn-id: svn://10.0.0.236/trunk@179705 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 17:57:40 +00:00
sandeep.konchady%sun.com
23a0c657fa Added Password.clear() and PBEKeyGenParams.clear() so that the objects are
released when GC tries to collect them.


git-svn-id: svn://10.0.0.236/trunk@179587 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 22:48:46 +00:00
sandeep.konchady%sun.com
573a498997 Adding JSS SelfServ test client and server.
git-svn-id: svn://10.0.0.236/trunk@179573 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 20:58:08 +00:00
christophe.ravel.bugs%sun.com
670f6290ca Uprev JSS version to 4.1.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@178879 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 23:39:12 +00:00
sandeep.konchady%sun.com
60860ee691 Bug Id: 304195
Added try/catch block around the method calls within toString().  Calls
such as getInetAddress(), getPort() etc does not check if the socket is
closed, and when applications use toString() on a closed socket, there
is an uncaught exception.


git-svn-id: svn://10.0.0.236/trunk@177919 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 23:44:45 +00:00
sandeep.konchady%sun.com
06b9934756 As per Wan-Teh's suggestion, the comments are modified to look as shown below.
#/********************************************************************/
#/* The VERSION Strings should be updated in the following           */
#/* files everytime a new release of JSS is generated:               */
#/*                                                                  */
#/* org/mozilla/jss/CryptoManager.java                               */
#/* org/mozilla/jss/CryptoManager.c                                  */
#/* org/mozilla/jss/util/jssver.h                                    */
#/* lib/manifest.mn                                                  */
#/*                                                                  */
#/********************************************************************/


git-svn-id: svn://10.0.0.236/trunk@177648 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 18:39:14 +00:00
sandeep.konchady%sun.com
a2cc25e4c2 Older release of JSS had an issue with gradually slowing socket read time when
transfering large files (> 10MB).  In order to test this in current and future
release, there needs to be a test client that can read a file and transfer it to
a server (remote or local) via JSS socket.  The server should report the number
of bytes read and the time it took to read these bytes.  There should not no
degradation in read time if there is no leak of any sort.

This is not part of all.pl, but is a client/server that uses JSS to transfer
files securely.  The main purpose of this test would be to test the performance
of large file transfer using JSS.

NOTE: If bufferedStream.mark(Integer.MAX_VALUE); method is invoked then fill
method of BufferedInputStream class copies lot of data using System.arraycopy
(which in-turn use memcpy). This causes very high CPU usage.  This is one of
the reasons secure large file transfer can become slow over time.


git-svn-id: svn://10.0.0.236/trunk@177558 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 18:28:59 +00:00
christophe.ravel.bugs%sun.com
1c1e6a000a 238319: Sun packages changes
Change rpm packaging for RHEL3 i386 and x86_64.


git-svn-id: svn://10.0.0.236/trunk@176439 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 15:32:50 +00:00
sandeep.konchady%sun.com
d12ef8d85f Modified JSS/JSSE inter communication tests along with JSSPackageTest
and all.pl to use platform specific cert/keystore directory.


git-svn-id: svn://10.0.0.236/trunk@175042 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 05:59:36 +00:00
christophe.ravel.bugs%sun.com
27985b1719 297573 - Modify JSS tests such that they access certs from platform specific directories
r: Sandeep
Force Perl to do unbuffered output to avoid having Java and
Perl output out of sync.


git-svn-id: svn://10.0.0.236/trunk@174915 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 01:17:30 +00:00
christophe.ravel.bugs%sun.com
fe12bae293 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Display the result of each test case and global pass rate.


git-svn-id: svn://10.0.0.236/trunk@174737 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 23:22:46 +00:00
christophe.ravel.bugs%sun.com
6bd0bd41e1 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Make $testdir a specific directory for each run.


git-svn-id: svn://10.0.0.236/trunk@174634 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 18:39:37 +00:00
sandeep.konchady%sun.com
7eea32a0a7 Added comment to all these files indicating that the version of NSS
mustbe updated every time NSS is updated.  This helps pick the right
version of NSS for JSS builds.


git-svn-id: svn://10.0.0.236/trunk@173614 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 22:56:30 +00:00
sandeep.konchady%sun.com
2c128dd051 Modified the way MANIFEST.MF file was being generated. I now use perl
to open a file and write to it instead of execing a system command.
This is in response to build failure when rsh to a Windows machine.


git-svn-id: svn://10.0.0.236/trunk@173558 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 22:18:15 +00:00
sandeep.konchady%sun.com
cd9921c879 Modified build_java.pl to create a MANIFEST.MF file with JSS product
version information.  This is then added to xpclass(_dbg).jar using
jar -tvf in place of zip -R.

Modified all.pl to execute a new test that checks for product package
version information in jss4.jar as well as compare this to the version
of library (libjss4.so or jss4.dll) being used.  This helps in consistency
check for jss jar and associated lib.

Added a new test JSSPackaeTest.java that reads MANIFEST.MF from jss jar
to fetch product version information.


git-svn-id: svn://10.0.0.236/trunk@173522 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 21:15:12 +00:00
christophe.ravel.bugs%sun.com
470d38da1a Change NSS version to 3.10.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@172786 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 20:28:39 +00:00
sandeep.konchady%sun.com
c7c5a0f9a6 Fix for JSSE and JSS client timeout issue
Fixed a couple of issues.
[1] Reduced JSS and JSSE server timeout from 2 min to 35 sec
[2] Added try/catch to JSSE client to detect non Sun JCA
[3] Added socket and program timeout for JSS and JSSE clients so that they exit
gracefully
[4] Split TLS and SSLv3 in seperate mothods in JSSE_SSLclient.java


git-svn-id: svn://10.0.0.236/trunk@172701 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-25 21:28:12 +00:00
christophe.ravel.bugs%sun.com
ea77b6193d 238319: Sun packages changes
Uprev rpm release to 4.


git-svn-id: svn://10.0.0.236/trunk@172467 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 00:18:26 +00:00
christophe.ravel.bugs%sun.com
3044d51680 Changing beta flag to RTM.
git-svn-id: svn://10.0.0.236/trunk@172455 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 22:53:46 +00:00