Backport libcrypto audit: check return values of EVP functions instead