L3 oemcrypto: Replace NULL with nullptr am: 5cd0fd7992

Change-Id: If73c5faa27ee6da1c237c3045291a57638e23453
This commit is contained in:
Automerger Merge Worker
2020-03-11 23:23:22 +00:00

View File

@@ -85,7 +85,7 @@ static std::string GetSSLError() {
static bool DeriveKey(const std::vector<uint8_t>& key,
const std::vector<uint8_t>& context,
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;
return false;
}