fixed ripemd160 to work with newer versions of openssl