L3 oemcrypto: Replace NULL with nullptr am: 5cd0fd7992 am: ace03ffb04 am: 6d086900d0
Change-Id: Id03ace17052f3246ea2fbde15e152118be663771
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user