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