Syntax fix for Python2.

This commit is contained in:
Joe Testa 2017-09-22 15:01:51 -04:00
parent 7c919b093b
commit 33ae2946ea

View File

@ -2265,8 +2265,8 @@ class KexGroupExchange(KexDH):
# Now that we got the generator and modulus, perform the DH exchange
# like usual.
super().set_params(g, p)
super().send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT)
super(KexGroupExchange, self).set_params(g, p)
super(KexGroupExchange, self).send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT)
class KexGroupExchange_SHA1(KexGroupExchange):