From b3eed2db617dcca96b438e0ca0b22f822acefe05 Mon Sep 17 00:00:00 2001 From: Raif Naffah Date: Tue, 3 Dec 2002 18:46:59 +0000 Subject: DSAParameterSpec.java (getP): Return p, not q. 2002-12-03 Raif Naffah * 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 --- libjava/java/security/spec/DSAPublicKeySpec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/security/spec/DSAPublicKeySpec.java') 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; } /** -- cgit v1.1