diff options
author | Hans Nilsson <[email protected]> | 2014-04-10 14:44:57 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-04-24 14:56:23 +0200 |
commit | e6bbd2f6732f6bdcb519f9e4deab76611c0461e2 (patch) | |
tree | 0f1ad396c68b0c5b8173e76f9604d26d1e4b5814 /lib/ssl/test/make_certs.erl | |
parent | 138bdae063206223bb35258780e0ec1b4301967b (diff) | |
download | otp-e6bbd2f6732f6bdcb519f9e4deab76611c0461e2.tar.gz otp-e6bbd2f6732f6bdcb519f9e4deab76611c0461e2.tar.bz2 otp-e6bbd2f6732f6bdcb519f9e4deab76611c0461e2.zip |
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" |