mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-12-17 22:26:31 +01:00
Transformed comment type annotations to variable declaration annotations.
This commit is contained in:
@@ -46,8 +46,8 @@ class KexDH: # pragma: nocover
|
||||
self.__e = 0
|
||||
self.set_params(g, p)
|
||||
|
||||
self.__ed25519_pubkey = None # type: Optional[bytes]
|
||||
self.__hostkey_type = None # type: Optional[bytes]
|
||||
self.__ed25519_pubkey: Optional[bytes] = None
|
||||
self.__hostkey_type: Optional[bytes] = None
|
||||
self.__hostkey_e = 0
|
||||
self.__hostkey_n = 0
|
||||
self.__hostkey_n_len = 0 # Length of the host key modulus.
|
||||
|
||||
Reference in New Issue
Block a user