Merge "adb: avoid crash when authenticating without vendor keys." am: 046cc11982
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1331888 Change-Id: I8d634811a847261bd186a9e66ede6b3ebc0d0f98
This commit is contained in:
commit
dada5fd17e
1 changed files with 1 additions and 2 deletions
|
|
@ -1533,8 +1533,7 @@ std::shared_ptr<RSA> atransport::NextKey() {
|
||||||
keys_.pop_front();
|
keys_.pop_front();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<RSA> result = keys_[0];
|
return Key();
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void atransport::ResetKeys() {
|
void atransport::ResetKeys() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue