summaryrefslogtreecommitdiffstats
path: root/libjava/java/security
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-03 18:46:59 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-03 18:46:59 +0000
commit292bd4fa9e4e1605b1eb4714e5195035370b9b7a (patch)
tree3e19d35c39bcc558813dbb59510c044cf82d8220 /libjava/java/security
parent1fe2dd644177cc2afed7182c2b55606b7af945f3 (diff)
downloadppe42-gcc-292bd4fa9e4e1605b1eb4714e5195035370b9b7a.tar.gz
ppe42-gcc-292bd4fa9e4e1605b1eb4714e5195035370b9b7a.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59779 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security')
-rw-r--r--libjava/java/security/spec/DSAParameterSpec.java2
-rw-r--r--libjava/java/security/spec/DSAPrivateKeySpec.java2
-rw-r--r--libjava/java/security/spec/DSAPublicKeySpec.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/security/spec/DSAParameterSpec.java b/libjava/java/security/spec/DSAParameterSpec.java
index 59bddc00f58..fa0ebce7a7a 100644
--- a/libjava/java/security/spec/DSAParameterSpec.java
+++ b/libjava/java/security/spec/DSAParameterSpec.java
@@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec,
*/
public BigInteger getP()
{
- return this.q;
+ return this.p;
}
/**
diff --git a/libjava/java/security/spec/DSAPrivateKeySpec.java b/libjava/java/security/spec/DSAPrivateKeySpec.java
index 9b21563a444..b4025d61cb3 100644
--- a/libjava/java/security/spec/DSAPrivateKeySpec.java
+++ b/libjava/java/security/spec/DSAPrivateKeySpec.java
@@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec
*/
public BigInteger getP()
{
- return this.q;
+ return this.p;
}
/**
diff --git a/libjava/java/security/spec/DSAPublicKeySpec.java b/libjava/java/security/spec/DSAPublicKeySpec.java
index eee42a91587..5eb70ba07c3 100644
--- a/libjava/java/security/spec/DSAPublicKeySpec.java
+++ b/libjava/java/security/spec/DSAPublicKeySpec.java
@@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec
*/
public BigInteger getP()
{
- return this.q;
+ return this.p;
}
/**
OpenPOWER on IntegriCloud