From 58a02f107eb0e43a631eb9b99a18c5c13ccec4f0 Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Wed, 8 Nov 2017 22:42:52 -0500 Subject: [PATCH] Removed '-verify 0' - to disable verification, exclude -verify entirely --- test/test_ssl/test_dhparam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ssl/test_dhparam.py b/test/test_ssl/test_dhparam.py index 67b11fa..fd60217 100644 --- a/test/test_ssl/test_dhparam.py +++ b/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