summaryrefslogtreecommitdiff
path: root/paramiko/kex_curve25519.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-09 19:32:57 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 23:26:00 -0500
commit3e87f05b57213cc539670f85ac7ea8ccddb9e5c4 (patch)
tree5f3442839198de82f1376dbc53a0916856a8ebb9 /paramiko/kex_curve25519.py
parent768f3e238b26127cee5cf5d4d18a17a40c349c9e (diff)
downloadparamiko-3e87f05b57213cc539670f85ac7ea8ccddb9e5c4.tar.gz
Migrate some byte related helpers around
I feel like we should be able to just nuke byte_chr and friends at this point, but it's not entirely obvious, so let's rock that boat later.
Diffstat (limited to 'paramiko/kex_curve25519.py')
-rw-r--r--paramiko/kex_curve25519.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/kex_curve25519.py b/paramiko/kex_curve25519.py
index 3420fb4f..8f66609a 100644
--- a/paramiko/kex_curve25519.py
+++ b/paramiko/kex_curve25519.py
@@ -9,7 +9,8 @@ from cryptography.hazmat.primitives.asymmetric.x25519 import (
)
from paramiko.message import Message
-from paramiko.py3compat import byte_chr, long
+from paramiko.common import byte_chr
+from paramiko.py3compat import long
from paramiko.ssh_exception import SSHException