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
This commit is contained in:
Raif Naffah 2002-12-03 18:46:59 +00:00 committed by Mark Wielaard
parent c203334d6d
commit b3eed2db61
4 changed files with 9 additions and 3 deletions

View 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

View file

@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec,
*/
public BigInteger getP()
{
return this.q;
return this.p;
}
/**

View file

@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec
*/
public BigInteger getP()
{
return this.q;
return this.p;
}
/**

View file

@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec
*/
public BigInteger getP()
{
return this.q;
return this.p;
}
/**