The check `OPENSSL_VERSION_NUMBER >= 0x10100000L` works for every version including the most recent, while the `HAVE_DECL_EVP_MD_CTX_NEW` does not work for openssl 1.1.1 when cross compiling for an unknown reason (see D13681)
The reason the `OPENSSL_VERSION_NUMBER >= 0x10100000L` check was changed was to support LibreSSL (see core#9475). I'm not aware of anyone building Bitcoin ABC with LibreSSL