DSAParameterSpec.java (getP): Return p, not q.
authorRaif Naffah <raif@fl.net.au>
Tue, 3 Dec 2002 18:46:59 +0000 (18:46 +0000)
committerMark Wielaard <mark@gcc.gnu.org>
Tue, 3 Dec 2002 18:46:59 +0000 (18:46 +0000)
2002-12-03  Raif Naffah  <raif@fl.net.au>

        * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
        * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
        * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.

From-SVN: r59779

libjava/ChangeLog
libjava/java/security/spec/DSAParameterSpec.java
libjava/java/security/spec/DSAPrivateKeySpec.java
libjava/java/security/spec/DSAPublicKeySpec.java

index 66fcfc71137f3cc024967e335a153c659438cec9..f6a8e5cab5af8f2e16bb0c6ede5e8ddf5692351b 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-03  Raif Naffah  <raif@fl.net.au>
+
+        * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
+        * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
+        * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
+
 2002-12-03  Andrew Haley  <aph@redhat.com>
 
         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
index 59bddc00f586919315ae490ded2064201a355dbd..fa0ebce7a7a318450ef62ec6c1df66e24298c064 100644 (file)
@@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec,
   */
   public BigInteger getP() 
   {
-    return this.q;
+    return this.p;
   }
 
   /**
index 9b21563a4445e19ff7689fb330c3405836293b6a..b4025d61cb38cc38af10bc2eb2475fa0aa41ca32 100644 (file)
@@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec
   */
   public BigInteger getP() 
   {
-    return this.q;
+    return this.p;
   }
 
   /**
index eee42a91587dd5fab3103e4f62db3fba9ce57ad2..5eb70ba07c36b3702b4ef4774672d9ffcf2f7928 100644 (file)
@@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec
   */
   public BigInteger getP() 
   {
-    return this.q;
+    return this.p;
   }
 
   /**