Removing hasattr on cryptography X509_GENERALNAMES_free method.