aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ice/src/dtls_srtp.vala2
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();