[Pki-devel] [pki-devel][PATCH]

Christina Fu cfu at redhat.com
Thu Nov 17 02:25:49 UTC 2016


I compared this patch with the original C patch.  There was a check in C 
that does not exist in your Java patch:

1019 	

     if(data.size() != 3){

1020 	

     	lifecycle = 0xf0;

1021 	

     	RA::Error(LL_PER_PDU, "RA_Processor::GetLifecycle", "apdu response is the wrong size, the size is: %x", data.size());

1022 	

     	goto loser;

1023 	

     }


Why does it not apply in Java?

Thanks,
Christina

On 11/15/2016 06:20 PM, John Magne wrote:
>
> Ticket: TPS throws "err=6" when attempting to format and e : https://fedorahosted.org/pki/ticket/2544
>
> Fix tested on standard card, it does what it is supposed to do. It checks first to make sure the lifecycle
> state needs to be changed before attempting to do so. This will prevent any cards that return an error when
> one tries to over write the value with the same value it had before.
>
>
>
> _______________________________________________
> Pki-devel mailing list
> Pki-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/pki-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20161116/44cab442/attachment.htm>


More information about the Pki-devel mailing list