diff options
author | Hans Nilsson <[email protected]> | 2014-04-23 22:24:41 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-04-23 22:24:41 +0200 |
commit | bb7642ee5f326b25425634cfc40baa385f5ab3fa (patch) | |
tree | a0b4ebfdeee9375a6f61eac6cdc892825b25a1bd /lib/ssl/test/make_certs.erl | |
parent | 24a4867b107ec8463ccbbb64a6360562047c9125 (diff) | |
parent | 7a9ac0af28fba4589a1661b9fed9e1d6ef75dd6c (diff) | |
download | otp-bb7642ee5f326b25425634cfc40baa385f5ab3fa.tar.gz otp-bb7642ee5f326b25425634cfc40baa385f5ab3fa.tar.bz2 otp-bb7642ee5f326b25425634cfc40baa385f5ab3fa.zip |
Merge branch 'hans/ssl/ssl_crl_SUITE/win_connect_failure'
* hans/ssl/ssl_crl_SUITE/win_connect_failure:
ssl: Fixes ssl_crl_SUITE errors on mixed ipv6-v4 interfaces
Diffstat (limited to 'lib/ssl/test/make_certs.erl')
-rw-r--r-- | lib/ssl/test/make_certs.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/test/make_certs.erl b/lib/ssl/test/make_certs.erl index 0947657ca7..15a7e118ff 100644 --- a/lib/ssl/test/make_certs.erl +++ b/lib/ssl/test/make_certs.erl @@ -32,6 +32,7 @@ v2_crls = true, ecc_certs = false, issuing_distribution_point = false, + crl_port = 8000, openssl_cmd = "openssl"}). @@ -57,6 +58,8 @@ make_config([{default_bits, Bits}|T], C) when is_integer(Bits) -> make_config(T, C#config{default_bits = Bits}); make_config([{v2_crls, Bool}|T], C) when is_boolean(Bool) -> make_config(T, C#config{v2_crls = Bool}); +make_config([{crl_port, Port}|T], C) when is_integer(Port) -> + make_config(T, C#config{crl_port = Port}); make_config([{ecc_certs, Bool}|T], C) when is_boolean(Bool) -> make_config(T, C#config{ecc_certs = Bool}); make_config([{issuing_distribution_point, Bool}|T], C) when is_boolean(Bool) -> @@ -423,7 +426,7 @@ ca_cnf(C) -> "[crl_section]\n" %% intentionally invalid "URI.1=http://localhost/",C#config.commonName,"/crl.pem\n" - "URI.2=http://localhost:8000/",C#config.commonName,"/crl.pem\n" + "URI.2=http://localhost:",integer_to_list(C#config.crl_port),"/",C#config.commonName,"/crl.pem\n" "\n" "[user_cert_digital_signature_only]\n" |