Add X509_NAME_hash_ex() to be able to check if it failed due to unsupported SHA1