add a few sanity checks.
add a few sanity checks.


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

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