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

Commit ad5f8f4a authored by Josh Gao's avatar Josh Gao Committed by Automerger Merge Worker
Browse files

Merge "adb: avoid crash when authenticating without vendor keys." am:...

Merge "adb: avoid crash when authenticating without vendor keys." am: 046cc119 am: dada5fd1 am: b2d6d25e

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1331888

Change-Id: I41f5a9d5888acdbce58e387571785b5352eaf870
parents 4ffb1ff6 b2d6d25e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1533,8 +1533,7 @@ std::shared_ptr<RSA> atransport::NextKey() {
        keys_.pop_front();
    }

    std::shared_ptr<RSA> result = keys_[0];
    return result;
    return Key();
}

void atransport::ResetKeys() {