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();
|
||||
}
|
||||
|
||||
std::shared_ptr<RSA> result = keys_[0];
|
||||
return result;
|
||||
return Key();
|
||||
}
|
||||
|
||||
void atransport::ResetKeys() {
|
||||
|
|
Loading…
Reference in a new issue