------- Comment #5 from csm at gnu dot org 2006-04-21 02:30 ------- There's an `instanceof' check that I think is wrong in gnu.javax.crypto.jce.sig.DHKeyPairGeneratorSpi.java, line 80:
-> if (! (params instanceof DHGenParameterSpec)) -> throw new InvalidAlgorithmParameterException("params"); The `DHKeyPairGeneratorSpi' class delegates the call to the class `gnu.javax.crypto.key.dh.GnuDHKeyPairGenerator,' which looks to me like it can handle both `DHParameterSpec' and `DHGenParameterSpec.' The `instanceof' above should test for both kinds of parameters. Also: why are Diffie Hellman classes in the `sig' package? -- csm at gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |csm at gnu dot org Last reconfirmed|2006-04-20 22:16:04 |2006-04-21 02:30:18 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27228