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

This commit is contained in:
Josh Gao 2020-06-12 21:41:02 +00:00 committed by Gerrit Code Review
commit 046cc11982

View file

@ -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() {