OPENSSL_NO_SHA and OPENSSL_NO_SHA1 are a thing if you can bring yourself to care about people quite so reckless.