mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 04:56:25 +08:00
Allow devices to override connection closing
This commit is contained in:
@@ -39,10 +39,6 @@ class FakeDevice(interface.Device):
|
||||
self.vk = self.sk.get_verifying_key()
|
||||
return self
|
||||
|
||||
def close(self):
|
||||
"""Close connection."""
|
||||
self.conn = None
|
||||
|
||||
def pubkey(self, identity, ecdh=False):
|
||||
"""Return public key."""
|
||||
_verify_support(identity)
|
||||
|
||||
Reference in New Issue
Block a user