adb: avoid crash when authenticating without vendor keys.
Bug: http://b/158232136 Test: manual Change-Id: Ic8211335494a6acb703af5b82f52856223f538bb
This commit is contained in:
parent
8d3265539b
commit
30b0bbd4a2
|
@ -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 New Issue