From 3579f76dc7e08193af176ca428585fbc432a7142 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 7 Mar 2014 12:45:06 -0800 Subject: [PATCH] Another fix that looked important but wasn't --- paramiko/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paramiko/transport.py b/paramiko/transport.py index 9083ab0..e7a36c4 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -724,7 +724,7 @@ class Transport (threading.Thread): m = Message() m.add_byte(cMSG_IGNORE) if byte_count is None: - byte_count = (ord(rng.read(1)) % 32) + 10 + byte_count = (byte_ord(rng.read(1)) % 32) + 10 m.add_bytes(rng.read(byte_count)) self._send_user_message(m)