Merge "Fix cryptfs RSA signing with keystore2"

This commit is contained in:
Treehugger Robot 2021-04-26 18:51:13 +00:00 committed by Gerrit Code Review
commit d2bb367549

View file

@ -82,14 +82,7 @@ bool KeymasterOperation::updateCompletely(const char* input, size_t inputLen,
ks2Operation = nullptr;
return false;
}
if (!output) {
LOG(ERROR) << "Keystore2 operation update didn't return output.";
ks2Operation = nullptr;
return false;
}
consumer((const char*)output->data(), output->size());
if (output) consumer((const char*)output->data(), output->size());
}
return true;
}