diff options
Diffstat (limited to 'libjava/java/security')
-rw-r--r-- | libjava/java/security/spec/DSAParameterSpec.java | 2 | ||||
-rw-r--r-- | libjava/java/security/spec/DSAPrivateKeySpec.java | 2 | ||||
-rw-r--r-- | libjava/java/security/spec/DSAPublicKeySpec.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/security/spec/DSAParameterSpec.java b/libjava/java/security/spec/DSAParameterSpec.java index 59bddc0..fa0ebce 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 9b21563..b4025d6 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 eee42a9..5eb70ba 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; } /** |