<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I compared this patch with the original C patch.  There was a
      check in C that does not exist in your Java patch:</p>
    <table class="file_table">
      <tbody class="file">
        <tr>
          <td class="num">1019</td>
          <td class="added">
            <pre>    if(data.size() != 3){</pre>
          </td>
        </tr>
        <tr>
          <td class="num">1020</td>
          <td class="added">
            <pre>         lifecycle = 0xf0;</pre>
          </td>
        </tr>
        <tr>
          <td class="num">1021</td>
          <td class="added">
            <pre>         RA::Error(LL_PER_PDU, "RA_Processor::GetLifecycle", "apdu response is the wrong size, the size is: %x", data.size());</pre>
          </td>
        </tr>
        <tr>
          <td class="num">1022</td>
          <td class="added">
            <pre>         goto loser;</pre>
          </td>
        </tr>
        <tr>
          <td class="num">1023</td>
          <td class="added">
            <pre>    }</pre>
          </td>
        </tr>
      </tbody>
    </table>
    <br>
    <div class="moz-cite-prefix">Why does it not apply in Java?<br>
      <br>
      Thanks,<br>
      Christina<br>
      <br>
      On 11/15/2016 06:20 PM, John Magne wrote:<br>
    </div>
    <blockquote
      cite="mid:1554093259.17510753.1479262809543.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

Ticket: TPS throws "err=6" when attempting to format and e : <a class="moz-txt-link-freetext" href="https://fedorahosted.org/pki/ticket/2544">https://fedorahosted.org/pki/ticket/2544</a>

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.

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>