diff options
author | Marvin W <git@larma.de> | 2023-07-09 14:15:40 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-07-09 14:32:33 +0200 |
commit | 7357b7ecfbaa6bd0b9aeacb6d1551fd02b3f0f20 (patch) | |
tree | b4ab1ef40f020f83b80ab616deb34d889962d97d /plugins | |
parent | 1bf57a42fa5c36977132d21f59ca6637fcd0c3d3 (diff) | |
download | dino-7357b7ecfbaa6bd0b9aeacb6d1551fd02b3f0f20.tar.gz dino-7357b7ecfbaa6bd0b9aeacb6d1551fd02b3f0f20.zip |
Fix certificate start time
I doubt anyone ever looked at it, but it shouldn't be 1 day in the future ;)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ice/src/dtls_srtp.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ice/src/dtls_srtp.vala b/plugins/ice/src/dtls_srtp.vala index e2817ef3..c9813b7e 100644 --- a/plugins/ice/src/dtls_srtp.vala +++ b/plugins/ice/src/dtls_srtp.vala @@ -86,7 +86,7 @@ public class Handler { err = private_key.generate(PKAlgorithm.ECDSA, 256); throw_if_error(err); - var start_time = new DateTime.now_local().add_days(1); + var start_time = new DateTime.now_local().add_days(-1); var end_time = start_time.add_days(2); X509.Certificate cert = X509.Certificate.create(); |