[cp-patches] FYI: CipherAdapter and PR Classpath/27849 fixes

Raif S. Naffah raif at swiftdsl.com.au
Sat Jun 17 04:04:22 UTC 2006


hello all,

the attached patch --already committed on behalf of Vivek-- properly
implements the logic documented in the Cipher and CipherSpi init() and
engineInit() methods and fixes PR Classpath/27849.

Mauve tests TestOfCipherEngineInit and TestOfPR27849 (in
gnu.testlet.gnu.javax.crypto.jce) should now pass.


2006-06-17  Raif S. Naffah  <raif at swiftdsl.com.au>

	On behalf of Vivek Lakshmanan <vivekl at redhat.com>
	* gnu/javax/crypto/jce/cipher/CipherAdapter.java
	(engineInit(int, Key, SecureRandom)): Seperate common initialization logic
	into engineInitHandler and reuse the code in
	engineInit(int, Key, AlgorithmSpec, SecureRandom).
	(engineInitHandler): New method.
	(engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
	null, use random or default information when possible.


cheers;
rsn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classpath-20060617.patch
Type: text/x-diff
Size: 3415 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060617/158b8b7d/classpath-20060617.bin


More information about the Classpath-patches mailing list