L3 oemcrypto: Replace NULL with nullptr am: 5cd0fd7992 am: ace03ffb04 am: 6acc649d33 am: 5fb9c96d35

Change-Id: I93deefe19d76b7f9b544efd278ed1535adb7fd0b
This commit is contained in:
Automerger Merge Worker
2020-03-12 00:04:15 +00:00

View File

@@ -85,7 +85,7 @@ static std::string GetSSLError() {
static bool DeriveKey(const std::vector<uint8_t>& key, static bool DeriveKey(const std::vector<uint8_t>& key,
const std::vector<uint8_t>& context, const std::vector<uint8_t>& context,
std::vector<uint8_t>* out) { std::vector<uint8_t>* out) {
if (key.empty() || context.empty() || out == NULL) { if (key.empty() || context.empty() || out == nullptr) {
std::cerr << "DeriveKey(): Invalid inputs" << std::endl; std::cerr << "DeriveKey(): Invalid inputs" << std::endl;
return false; return false;
} }