FYI: getP() for DSA keys and parameter-spec returned q

Mark Wielaard mark@klomp.org
Tue Dec 3 10:46:00 GMT 2002


Hi,

Raif Naffah found an embarressing bug in all DSA*.getP() methods.
They returned q, not p.

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.

Committed as obvious.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsa.patch
Type: text/x-patch
Size: 1532 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20021203/7f8f0088/attachment.bin>


More information about the Java-patches mailing list