The changes you have put in ComCrypto.java look great. I did notice,
however, that you do a similar token assignment around line 710, but
still have the unnecessary cast, no check for null and wonky exception
handling. Please fix this instance too.
Once that is done, we can ACK the patch.
On Tue, 2013-02-19 at 18:04 -0800, Christina Fu wrote:
> Thank you for the review.
> Per our discussion. The agreed changes can now be found at:
> In addition, I have added changes to the admin cert profile to accept ECC:
> Also, I have now put the ECC setup instruction at this location:
> So the silentEC_readme.txt now only contains link to it:
> On 02/19/2013 12:04 PM, Ade Lee wrote:
>> In general, the code changes look fine. Just a couple of nitpicks ..
>> 1. The variable save_p12 should be a boolean rather than a string.
>> 2. In ComCrypto.java, you define setTokenName(). What about
>> 3. In ComCrypto.java,on line 448, you cast token to (PK11Token) and on
>> 450, there is no cast. Why the discrepancy? Is the cast needed?
>> 4. The exception handling in ComCrypto.java for lines 448/450 is pretty
>> wonky. It seems like token could return null. Could we improve the
>> exception handling in this case?
>> On Tue, 2The 013-02-19 at 11:26 -0800, Christina Fu wrote:
>>> This is a request for code review for the following feature bug:
>>> Bug 810967 - [RFE] ECC support for pkisilent
>>> the code changes can be found here:
>>> The 5 new templates and one readme instruction file can be found the
>>> the bug attachment.
>>> Pki-devel mailing list