summaryrefslogtreecommitdiff
path: root/paramiko/kex_gex.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/kex_gex.py')
-rw-r--r--paramiko/kex_gex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/kex_gex.py b/paramiko/kex_gex.py
index 7bf24ddd..aa68efa5 100644
--- a/paramiko/kex_gex.py
+++ b/paramiko/kex_gex.py
@@ -111,7 +111,7 @@ class KexGex(object):
qnorm = util.deflate_long(q, 0)
qhbyte = byte_ord(qnorm[0])
byte_count = len(qnorm)
- qmask = 0xff
+ qmask = 0xFF
while not (qhbyte & 0x80):
qhbyte <<= 1
qmask >>= 1