Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3284c9ae authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Verify op_ is not a nullptr" am: 2d63764c am: a8b92e54

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1940573

Change-Id: I7a9c97c9e5a3f54f56b01153682667434a8d0125
parents 2954763f a8b92e54
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -537,6 +537,9 @@ ErrorCode KeyMintAidlTestBase::Update(const string& input, string* output) {
    Status result;
    if (!output) return ErrorCode::UNEXPECTED_NULL_POINTER;

    EXPECT_NE(op_, nullptr);
    if (!op_) return ErrorCode::UNEXPECTED_NULL_POINTER;

    std::vector<uint8_t> o_put;
    result = op_->update(vector<uint8_t>(input.begin(), input.end()), {}, {}, &o_put);