Loading scramblesuit.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -588,7 +588,7 @@ class ScrambleSuitTransport( base.BaseTransport ): rawLength = len(uniformDHSecret) rawLength = len(uniformDHSecret) if rawLength != const.SHARED_SECRET_LENGTH: if rawLength != const.SHARED_SECRET_LENGTH: raise base.PluggableTransportError( raise base.PluggableTransportError( "The UniformDH password must be %d bytes in length, ", "The UniformDH password must be %d bytes in length, " "but %d bytes are given." "but %d bytes are given." % (const.SHARED_SECRET_LENGTH, rawLength)) % (const.SHARED_SECRET_LENGTH, rawLength)) else: else: Loading Loading
scramblesuit.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -588,7 +588,7 @@ class ScrambleSuitTransport( base.BaseTransport ): rawLength = len(uniformDHSecret) rawLength = len(uniformDHSecret) if rawLength != const.SHARED_SECRET_LENGTH: if rawLength != const.SHARED_SECRET_LENGTH: raise base.PluggableTransportError( raise base.PluggableTransportError( "The UniformDH password must be %d bytes in length, ", "The UniformDH password must be %d bytes in length, " "but %d bytes are given." "but %d bytes are given." % (const.SHARED_SECRET_LENGTH, rawLength)) % (const.SHARED_SECRET_LENGTH, rawLength)) else: else: Loading