Merge "adb: avoid crash when authenticating without vendor keys."
This commit is contained in:
commit
046cc11982
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