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:
parent
c203334d6d
commit
b3eed2db61
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -74,7 +74,7 @@ public class DSAParameterSpec extends Object implements AlgorithmParameterSpec,
|
|||
*/
|
||||
public BigInteger getP()
|
||||
{
|
||||
return this.q;
|
||||
return this.p;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -87,7 +87,7 @@ public class DSAPrivateKeySpec extends Object implements KeySpec
|
|||
*/
|
||||
public BigInteger getP()
|
||||
{
|
||||
return this.q;
|
||||
return this.p;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -87,7 +87,7 @@ public class DSAPublicKeySpec extends Object implements KeySpec
|
|||
*/
|
||||
public BigInteger getP()
|
||||
{
|
||||
return this.q;
|
||||
return this.p;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue