Explorar el Código

Removed '-verify 0' - to disable verification, exclude -verify entirely

Steve Kamerman hace 7 años
padre
commit
58a02f107e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/test_ssl/test_dhparam.py

+ 1 - 1
test/test_ssl/test_dhparam.py

@@ -89,5 +89,5 @@ def test_web5_dhparam_is_used(docker_compose):
 
     host = "%s:443" % sut_container.attrs["NetworkSettings"]["IPAddress"]
     r = subprocess.check_output(
-        "echo '' | openssl s_client -verify 0 -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
+        "echo '' | openssl s_client -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
     assert "Server Temp Key: DH, 2048 bits\n" == r