diff options
Diffstat (limited to 'adb/client/auth.cpp')
-rw-r--r-- | adb/client/auth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/client/auth.cpp b/adb/client/auth.cpp index ade2623b8..0f4dd3397 100644 --- a/adb/client/auth.cpp +++ b/adb/client/auth.cpp @@ -464,6 +464,7 @@ void send_auth_response(const char* token, size_t token_size, atransport* t) { std::shared_ptr<RSA> key = t->NextKey(); if (key == nullptr) { // No more private keys to try, send the public key. + t->SetConnectionState(kCsUnauthorized); send_auth_publickey(t); return; } |