Fix deprecation warnings about OpenSSL::Digest.