зеркало из https://github.com/microsoft/CCF.git
Fix unknown curve error (#2551)
This commit is contained in:
Родитель
5aa666f7a1
Коммит
82220f033e
|
@ -58,7 +58,6 @@ def test_illegal(network, args, verify=True):
|
|||
# Send malformed HTTP traffic and check the connection is closed
|
||||
cafile = os.path.join(network.common_dir, "networkcert.pem")
|
||||
context = ssl.create_default_context(cafile=cafile)
|
||||
context.set_ecdh_curve(ccf.clients.get_curve(cafile).name)
|
||||
context.load_cert_chain(
|
||||
certfile=os.path.join(network.common_dir, "user0_cert.pem"),
|
||||
keyfile=os.path.join(network.common_dir, "user0_privk.pem"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче