We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 253903e + 914979e commit 9d00a51Copy full SHA for 9d00a51
python/http_ece/tests/test_ece.py
@@ -52,7 +52,9 @@ def make_key():
52
class TestEce(unittest.TestCase):
53
def setUp(self):
54
self.private_key = make_key()
55
- self.dh = self.private_key.public_key().public_numbers().encode_point()
+ self.dh = self.private_key.public_key().public_bytes(
56
+ Encoding.X962, PublicFormat.UncompressedPoint
57
+ )
58
self.m_key = os.urandom(16)
59
self.m_salt = os.urandom(16)
60
0 commit comments