diff options
author | Raimo Niskanen <[email protected]> | 2018-06-08 15:49:06 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-06-08 16:24:40 +0200 |
commit | 794df8cbba8d7942dcb3bf2cbdfa526b04d41dd3 (patch) | |
tree | 3289c1016bb354e22f6d0f1ce94b7401197ec33f /lib/ssl/test | |
parent | 9ae2044073e6433030ce30756658b103ce67c3c1 (diff) | |
download | otp-794df8cbba8d7942dcb3bf2cbdfa526b04d41dd3.tar.gz otp-794df8cbba8d7942dcb3bf2cbdfa526b04d41dd3.tar.bz2 otp-794df8cbba8d7942dcb3bf2cbdfa526b04d41dd3.zip |
Use public_key to verify client hostname
Diffstat (limited to 'lib/ssl/test')
-rw-r--r-- | lib/ssl/test/ssl_dist_bench_SUITE.erl | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/ssl/test/ssl_dist_bench_SUITE.erl b/lib/ssl/test/ssl_dist_bench_SUITE.erl index f827ea12bb..66b90a9048 100644 --- a/lib/ssl/test/ssl_dist_bench_SUITE.erl +++ b/lib/ssl/test/ssl_dist_bench_SUITE.erl @@ -117,19 +117,14 @@ init_per_suite(Config) -> ?MODULE_STRING ++ " ROOT CA", CertOptions), SSLConf = [{verify, verify_peer}, - {fail_if_no_peer_cert, true}, {versions, [TLSVersion]}, {ciphers, [TLSCipher]}], ServerConf = - [{verify_fun, - {fun inet_tls_dist:verify_client/3, - fun inet_tls_dist:cert_nodes/1}} - | SSLConf], - ClientConf = - [{verify_fun, - {fun inet_tls_dist:verify_server/3, - fun inet_tls_dist:cert_nodes/1}} + [{fail_if_no_peer_cert, true}, + {verify_fun, + {fun inet_tls_dist:verify_client/3,[]}} | SSLConf], + ClientConf = SSLConf, %% write_node_conf( NodeAConfFile, NodeA, ServerConf, ClientConf, |