Fix build when OPENSSL_NO_RIPEMD and OPENSSL_NO_CAST are defined.
Fix build when OPENSSL_NO_RIPEMD and OPENSSL_NO_CAST are defined.

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