L3 oemcrypto: Replace NULL with nullptr am: 5cd0fd7992

Change-Id: I71c41ba43edb99f167435c72d02ec97de4948b34
This commit is contained in:
Automerger Merge Worker
2020-03-11 23:22:56 +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;
}