diff options
author | Ingela Anderton Andin <[email protected]> | 2019-08-21 10:19:27 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-08-21 10:19:27 +0200 |
commit | efe616ac2a43f0b45fbb909d28b48616ba5637ac (patch) | |
tree | 17da32756d95bf34ef24102c2f3db95219dbbf5d /lib/public_key/src/pubkey_cert.erl | |
parent | ec82235231c66d3de392507d684bd4c5263de07e (diff) | |
parent | 5451bb1dd5a831704c9ec2d7eda940c4c3496d43 (diff) | |
download | otp-efe616ac2a43f0b45fbb909d28b48616ba5637ac.tar.gz otp-efe616ac2a43f0b45fbb909d28b48616ba5637ac.tar.bz2 otp-efe616ac2a43f0b45fbb909d28b48616ba5637ac.zip |
Merge branch 'ingela/ssl/test-cuddle' into maint
* ingela/ssl/test-cuddle:
public_key: Use another time in test certificates
ssl: Robustify test case
Diffstat (limited to 'lib/public_key/src/pubkey_cert.erl')
-rw-r--r-- | lib/public_key/src/pubkey_cert.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/src/pubkey_cert.erl b/lib/public_key/src/pubkey_cert.erl index 12c61e158f..d85f322918 100644 --- a/lib/public_key/src/pubkey_cert.erl +++ b/lib/public_key/src/pubkey_cert.erl @@ -1169,7 +1169,7 @@ validity(Opts) -> Format = fun({Y,M,D}) -> lists:flatten( - io_lib:format("~4..0w~2..0w~2..0w000000Z",[Y,M,D])) + io_lib:format("~4..0w~2..0w~2..0w130000Z",[Y,M,D])) end, #'Validity'{notBefore={generalTime, Format(DefFrom)}, notAfter ={generalTime, Format(DefTo)}}. |