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

Commit 5f2aabf0 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 am: ad5f8f4a

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

Change-Id: Ie96b7461f437e2d38bc49d16fa707d520c7677dc
parents 2cf87de9 ad5f8f4a
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() {