Merge pull request #161 from johankool/feature/connecting

Continue instead of early return on unknown key id
This commit is contained in:
Davide De Rosa 2020-04-13 12:20:46 +02:00 committed by GitHub
commit abe5922269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ public class OpenVPNSession: Session {
guard let _ = keys[key] else {
log.warning("Key with id \(key) not found")
// deferStop(.shutdown, OpenVPNError.badKey)
return
continue // JK: This used to be return, but we'd see connections that would stay in Connecting state forever
}
// XXX: improve with array reference