From: Edwin W. <wo...@us...> - 2005-04-01 14:16:25
|
Update of /cvsroot/cryptix/jce/src/cryptix.jce.provider.elgamal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15210 Modified Files: ElGamalCipher.java Log Message: When an algorithm does not support AlgorithmParameters, Sun specifies that the engineGetParameters function should return null. This function is called by Sun when the unlimited strength jurisdiction policy files are not installed, resulting for the old file in a RuntimeException instead of a InvalidKeyException as expected. Index: ElGamalCipher.java =================================================================== RCS file: /cvsroot/cryptix/jce/src/cryptix.jce.provider.elgamal/ElGamalCipher.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ElGamalCipher.java 28 Mar 2005 14:26:11 -0000 1.11 --- ElGamalCipher.java 1 Apr 2005 14:16:09 -0000 1.12 *************** *** 118,122 **** protected final AlgorithmParameters engineGetParameters() { ! throw new RuntimeException("NYI"); } --- 118,122 ---- protected final AlgorithmParameters engineGetParameters() { ! return null; } |