aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2021-04-09 22:23:53 +0200
committerMarvin W <git@larma.de>2021-04-09 22:23:53 +0200
commitfbc10c2023a4c2b874f87940f0a71bc0d8d7b57d (patch)
tree8e0b900037b543f2ac63b3c0c7f974a7e1ec8121 /plugins/crypto-vala
parent8d1c6c29be7018c74ec3f8ea05f5849eac5b4069 (diff)
downloaddino-fbc10c2023a4c2b874f87940f0a71bc0d8d7b57d.tar.gz
dino-fbc10c2023a4c2b874f87940f0a71bc0d8d7b57d.zip
DTLS-SRTP: Wait for setup finish and handle setup=passive
Diffstat (limited to 'plugins/crypto-vala')
-rw-r--r--plugins/crypto-vala/src/srtp.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/crypto-vala/src/srtp.vala b/plugins/crypto-vala/src/srtp.vala
index 77b5acde..493afdb0 100644
--- a/plugins/crypto-vala/src/srtp.vala
+++ b/plugins/crypto-vala/src/srtp.vala
@@ -6,8 +6,8 @@ public class Crypto.Srtp {
public const string F8_128_HMAC_SHA1_80 = "F8_128_HMAC_SHA1_80";
public class Session {
- public bool has_encrypt { get; private set; }
- public bool has_decrypt { get; private set; }
+ public bool has_encrypt { get; private set; default = false; }
+ public bool has_decrypt { get; private set; default = false; }
private Context encrypt_context;
private Context decrypt_context;