aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/erl_make_certs.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-03-23 15:12:23 +0100
committerIngela Anderton Andin <[email protected]>2017-03-23 15:12:23 +0100
commit84be7e0ec7c0c64f1beb418cdd09879822aca4b0 (patch)
treedd8aef05c16018cb09d62e3331ba164df71094e4 /lib/ssl/test/erl_make_certs.erl
parentdae0ee2186affe46d881f7662f73361b26f38b68 (diff)
parent9f4c3f973e44ee5784d1d7eddf225ca0458f4525 (diff)
downloadotp-84be7e0ec7c0c64f1beb418cdd09879822aca4b0.tar.gz
otp-84be7e0ec7c0c64f1beb418cdd09879822aca4b0.tar.bz2
otp-84be7e0ec7c0c64f1beb418cdd09879822aca4b0.zip
Merge branch 'ingela/ssl/make-cert-test-data/OTP-14294'
* ingela/ssl/make-cert-test-data/OTP-14294: ssl, public_key: Add functionality for generating X509 cert test data
Diffstat (limited to 'lib/ssl/test/erl_make_certs.erl')
-rw-r--r--lib/ssl/test/erl_make_certs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/test/erl_make_certs.erl b/lib/ssl/test/erl_make_certs.erl
index a6657be995..af217efc11 100644
--- a/lib/ssl/test/erl_make_certs.erl
+++ b/lib/ssl/test/erl_make_certs.erl
@@ -179,7 +179,7 @@ make_tbs(SubjectKey, Opts) ->
subject(proplists:get_value(subject, Opts),false)
end,
- {#'OTPTBSCertificate'{serialNumber = trunc(random:uniform()*100000000)*10000 + 1,
+ {#'OTPTBSCertificate'{serialNumber = trunc(rand:uniform()*100000000)*10000 + 1,
signature = SignAlgo,
issuer = Issuer,
validity = validity(Opts),