Преглед на файлове

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

Steve Kamerman преди 7 години
родител
ревизия
58a02f107e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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