diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 19:32:57 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-09 23:26:00 -0500 |
commit | 3e87f05b57213cc539670f85ac7ea8ccddb9e5c4 (patch) | |
tree | 5f3442839198de82f1376dbc53a0916856a8ebb9 /paramiko/kex_ecdh_nist.py | |
parent | 768f3e238b26127cee5cf5d4d18a17a40c349c9e (diff) | |
download | paramiko-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_ecdh_nist.py')
-rw-r--r-- | paramiko/kex_ecdh_nist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/kex_ecdh_nist.py b/paramiko/kex_ecdh_nist.py index 19de2431..eb9eff74 100644 --- a/paramiko/kex_ecdh_nist.py +++ b/paramiko/kex_ecdh_nist.py @@ -4,8 +4,9 @@ RFC 5656, Section 4 """ from hashlib import sha256, sha384, sha512 +from paramiko.common import byte_chr from paramiko.message import Message -from paramiko.py3compat import byte_chr, long +from paramiko.py3compat import long from paramiko.ssh_exception import SSHException from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import ec |