We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d835e commit 914979eCopy full SHA for 914979e
python/http_ece/tests/test_ece.py
@@ -55,7 +55,9 @@ class TestEce(unittest.TestCase):
55
56
def setUp(self):
57
self.private_key = make_key()
58
- self.dh = self.private_key.public_key().public_numbers().encode_point()
+ self.dh = self.private_key.public_key().public_bytes(
59
+ Encoding.X962, PublicFormat.UncompressedPoint
60
+ )
61
self.m_key = os.urandom(16)
62
self.m_salt = os.urandom(16)
63
0 commit comments