diff options
author | Ingela Anderton Andin <[email protected]> | 2016-05-10 18:39:03 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-05-10 18:39:03 +0200 |
commit | a270fea02603f0e64f7c52ff2079035ae1c7f7c5 (patch) | |
tree | bf322ceb43235a546b8c5ffd9bf3047d363dd6df /lib/ssl/test/ssl_test_lib.erl | |
parent | 781c493a49485af43037cff6212e854472d7dcdb (diff) | |
download | otp-a270fea02603f0e64f7c52ff2079035ae1c7f7c5.tar.gz otp-a270fea02603f0e64f7c52ff2079035ae1c7f7c5.tar.bz2 otp-a270fea02603f0e64f7c52ff2079035ae1c7f7c5.zip |
ssl: Correct test suite
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r-- | lib/ssl/test/ssl_test_lib.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl index 38cc3532d8..02fdc4330f 100644 --- a/lib/ssl/test/ssl_test_lib.erl +++ b/lib/ssl/test/ssl_test_lib.erl @@ -386,11 +386,11 @@ cert_options(Config) -> SNIServerBCertFile = filename:join([?config(priv_dir, Config), "b.server", "cert.pem"]), SNIServerBKeyFile = filename:join([?config(priv_dir, Config), "b.server", "key.pem"]), [{client_opts, []}, - {client_verification_opts, [{cacertfile, ClientCaCertFile}, + {client_verification_opts, [{cacertfile, ServerCaCertFile}, {certfile, ClientCertFile}, {keyfile, ClientKeyFile}, {ssl_imp, new}]}, - {client_verification_opts_digital_signature_only, [{cacertfile, ClientCaCertFile}, + {client_verification_opts_digital_signature_only, [{cacertfile, ServerCaCertFile}, {certfile, ClientCertFileDigitalSignatureOnly}, {keyfile, ClientKeyFile}, {ssl_imp, new}]}, @@ -426,7 +426,7 @@ cert_options(Config) -> {user_lookup_fun, {fun user_lookup/3, undefined}}, {ciphers, srp_anon_suites()}]}, {server_verification_opts, [{ssl_imp, new},{reuseaddr, true}, - {cacertfile, ServerCaCertFile}, + {cacertfile, ClientCaCertFile}, {certfile, ServerCertFile}, {keyfile, ServerKeyFile}]}, {client_kc_opts, [{certfile, ClientKeyCertFile}, {ssl_imp, new}]}, {server_kc_opts, [{ssl_imp, new},{reuseaddr, true}, |