sc_to_cryptoki_error(): check for the validity of ctx outside of the for loop to make the code more natural
sc_to_cryptoki_error(): check for the validity of ctx outside of the
for loop to make the code more natural


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

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