diff options
author | Raif Naffah <raif@fl.net.au> | 2002-12-03 18:46:59 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2002-12-03 18:46:59 +0000 |
commit | b3eed2db617dcca96b438e0ca0b22f822acefe05 (patch) | |
tree | 3e19d35c39bcc558813dbb59510c044cf82d8220 /libjava | |
parent | c203334d6d4d5e2563d90deb06f7c59bf150f00c (diff) | |
download | gcc-b3eed2db617dcca96b438e0ca0b22f822acefe05.zip gcc-b3eed2db617dcca96b438e0ca0b22f822acefe05.tar.gz gcc-b3eed2db617dcca96b438e0ca0b22f822acefe05.tar.bz2 |
DSAParameterSpec.java (getP): Return p, not q.
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-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 |
4 files changed, 9 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 66fcfc7..f6a8e5c 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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 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; } /** |