Only look at first byte for end of data detection. That way not only 0,0 and ff,ff is recognized and 0,ff,ff,ff... will not cause trouble.
Only look at first byte for end of data detection.
That way not only 0,0 and ff,ff is recognized
and 0,ff,ff,ff... will not cause trouble.


git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@1073 c6295689-39f2-0310-b995-f0e70906c6a9

LudovicRousseau/OpenSC,aobaid/OpenSC,carlhoerberg/OpenSC,gentoo/OpenSC,0x7678/myOpenSC,gentoo/OpenSC,carlhoerberg/OpenSC,marschap/pkg-opensc,adminmt/OpenSC,dengert/OpenSC,ieugen/OpenSC,velter/OpenSC,kasparsd/opensc-latvia-id,CardContact/OpenSC,viktorTarasov/OpenSC-SM,metsma/OpenSC,mtrojnar/OpenSC,gemini/OpenSC,aobaid/OpenSC,dengert/OpenSC,0x7678/myOpenSC,0x7678/myOpenSC,martinpaljak/OpenSC,mouse07410/OpenSC,adminmt/OpenSC,hhonkanen/OpenSC,marschap/pkg-opensc,kasparsd/opensc-latvia-id,UIKit0/OpenSC,ieugen/OpenSC,financeX/OpenSC,fabled/OpenSC,hhonkanen/OpenSC,financeX/OpenSC,CardContact/OpenSC,tidatida/OpenSC,mouse07410/OpenSC,financeX/OpenSC,tidatida/OpenSC,0x7678/myOpenSC,ieugen/OpenSC,tidatida/OpenSC,aobaid/OpenSC,fabled/OpenSC,Jakuje/OpenSC,mtrojnar/OpenSC,dirkx/OpenSC.tokend,dirkx/OpenSC.tokend,mouse07410/OpenSC,0x7678/OpenSC,gemini/OpenSC,UIKit0/OpenSC,adminmt/OpenSC,ieugen/OpenSC,LudovicRousseau/OpenSC,AktivCo/OpenSC,rickyepoderi/OpenSC,germanblanco/OpenSC,hongquan/OpenSC-main,jpki/OpenSC,metsma/OpenSC,carlhoerberg/OpenSC,dirkx/OpenSC.tokend,Jakuje/OpenSC,0x7678/OpenSC,dirkx/OpenSC,gentoo/OpenSC,marschap/pkg-opensc,martinpaljak/OpenSC,hongquan/OpenSC-main,dengert/OpenSC,gemini/OpenSC,nmav/OpenSC,dirkx/OpenSC.tokend,viktorTarasov/OpenSC-SM,dirkx/OpenSC.tokend,financeX/OpenSC,nmav/OpenSC,dirkx/OpenSC.tokend,marschap/pkg-opensc,UIKit0/OpenSC,philipWendland/OpenSC,aobaid/OpenSC,l1k/OpenSC,hhonkanen/OpenSC,0x7678/OpenSC,frankmorgner/OpenSC,frankmorgner/OpenSC,0x7678/OpenSC,jpki/OpenSC,germanblanco/OpenSC,AktivCo/OpenSC,rickyepoderi/OpenSC,viktorTarasov/OpenSC-SM,fabled/OpenSC,frankmorgner/OpenSC,jpki/OpenSC,velter/OpenSC,mtrojnar/OpenSC,rickyepoderi/OpenSC,metsma/OpenSC,dirkx/OpenSC,philipWendland/OpenSC,velter/OpenSC,CardContact/OpenSC,dirkx/OpenSC,OpenSC/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,nmav/OpenSC,l1k/OpenSC,martinpaljak/OpenSC,dirkx/OpenSC,dirkx/OpenSC,AktivCo/OpenSC,gentoo/OpenSC,tidatida/OpenSC,carlhoerberg/OpenSC,OpenSC/OpenSC,kasparsd/opensc-latvia-id,hongquan/OpenSC-main,OpenSC/OpenSC,kasparsd/opensc-latvia-id,gentoo/OpenSC,0x7678/myOpenSC,financeX/OpenSC,Jakuje/OpenSC,carlhoerberg/OpenSC,Jakuje/OpenSC,frankmorgner/OpenSC,germanblanco/OpenSC,UIKit0/OpenSC,ieugen/OpenSC,adminmt/OpenSC,velter/OpenSC,l1k/OpenSC,philipWendland/OpenSC