fixed wrong condition
fixed wrong condition

fixes https://github.com/OpenSC/OpenSC/issues/1465

AktivCo/OpenSC,viktorTarasov/OpenSC-SM,viktorTarasov/OpenSC-SM,OpenSC/OpenSC,fabled/OpenSC,AktivCo/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,rickyepoderi/OpenSC,Jakuje/OpenSC,philipWendland/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,dengert/OpenSC,philipWendland/OpenSC,hongquan/OpenSC-main,CardContact/OpenSC,fabled/OpenSC,hongquan/OpenSC-main,dengert/OpenSC,rickyepoderi/OpenSC,fabled/OpenSC,viktorTarasov/OpenSC-SM,metsma/OpenSC,Jakuje/OpenSC,OpenSC/OpenSC,frankmorgner/OpenSC,hhonkanen/OpenSC,mouse07410/OpenSC,fabled/OpenSC,frankmorgner/OpenSC,hongquan/OpenSC-main,Jakuje/OpenSC,LudovicRousseau/OpenSC,dengert/OpenSC,hhonkanen/OpenSC,mouse07410/OpenSC,AktivCo/OpenSC,Jakuje/OpenSC,CardContact/OpenSC,CardContact/OpenSC,OpenSC/OpenSC,hhonkanen/OpenSC,metsma/OpenSC,mouse07410/OpenSC,LudovicRousseau/OpenSC,rickyepoderi/OpenSC,LudovicRousseau/OpenSC