0999 if(new_len != lenECMpart2)
1000 {
1001 memcpy(ea->cw, ea->cw + 8, 8);
1002 memset(ea->cw + 8, 0, 8);
1003 }
1004
1005 //test for postprocessing marker
1006 int32_t posB0 = -1;
1007 int32_t i;
1008 for(i = 6; i < posECMpart2; i++)
1009 {
1010 if(er->ecm[i - 3] == 0x80 && er->ecm[i] == 0xB0 && ((er->ecm[i + 1] == 0x01) || (er->ecm[i + 1] == 0x02) || (er->ecm[i + 1] == 0x03)))
1011 {
1012 posB0 = i;
1013 break;
1014 }
1015 }
1016 if(posB0 != -1)
1017 {
1018 [COLOR=#ff0000]//[/COLOR]do_post_dw_hash(reader, ea->cw + 0, &er->ecm[posB0 - 2]);
1019 [COLOR=#ff0000]//[/COLOR]do_post_dw_hash(reader, ea->cw + 8, &er->ecm[posB0 - 2]);
1020 }
1021