aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-06-16 17:35:49 +0200
committerIngela Anderton Andin <[email protected]>2017-01-12 14:27:43 +0100
commit4c8e651d8641e98ecb1f21aa8652c53ee5067bf6 (patch)
tree15f7c4763a635539c15dafb74becd8748a860c7c /lib/ssl
parent605a4627a7383829559a1595457b860c1317da48 (diff)
downloadotp-4c8e651d8641e98ecb1f21aa8652c53ee5067bf6.tar.gz
otp-4c8e651d8641e98ecb1f21aa8652c53ee5067bf6.tar.bz2
otp-4c8e651d8641e98ecb1f21aa8652c53ee5067bf6.zip
ssl: Make crls valid for a week instead of 24 hours
With the 24 option we might be unlucky and get failing tests just because cert expired before the test is run.
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/make_certs.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/test/make_certs.erl b/lib/ssl/test/make_certs.erl
index d85be6c69e..e14f7f60c4 100644
--- a/lib/ssl/test/make_certs.erl
+++ b/lib/ssl/test/make_certs.erl
@@ -172,8 +172,8 @@ revoke(Root, CA, User, C) ->
gencrl(Root, CA, C).
gencrl(Root, CA, C) ->
- %% By default, the CRL is valid for 24 hours from now.
- gencrl(Root, CA, C, 24).
+ %% By default, the CRL is valid for a week from now.
+ gencrl(Root, CA, C, 24*7).
gencrl(Root, CA, C, CrlHours) ->
CACnfFile = filename:join([Root, CA, "ca.cnf"]),