mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 02:21:40 +01:00
Syntax fix for Python2.
This commit is contained in:
parent
7c919b093b
commit
33ae2946ea
@ -2265,8 +2265,8 @@ class KexGroupExchange(KexDH):
|
|||||||
|
|
||||||
# Now that we got the generator and modulus, perform the DH exchange
|
# Now that we got the generator and modulus, perform the DH exchange
|
||||||
# like usual.
|
# like usual.
|
||||||
super().set_params(g, p)
|
super(KexGroupExchange, self).set_params(g, p)
|
||||||
super().send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT)
|
super(KexGroupExchange, self).send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT)
|
||||||
|
|
||||||
|
|
||||||
class KexGroupExchange_SHA1(KexGroupExchange):
|
class KexGroupExchange_SHA1(KexGroupExchange):
|
||||||
|
Loading…
Reference in New Issue
Block a user