Commit b3eed2db by Raif Naffah Committed by Mark Wielaard

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
parent c203334d
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> 2002-12-03 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
......
...@@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, ...@@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec,
*/ */
public BigInteger getP() public BigInteger getP()
{ {
return this.q; return this.p;
} }
/** /**
......
...@@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec ...@@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec
*/ */
public BigInteger getP() public BigInteger getP()
{ {
return this.q; return this.p;
} }
/** /**
......
...@@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec ...@@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec
*/ */
public BigInteger getP() public BigInteger getP()
{ {
return this.q; return this.p;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment