aboutsummaryrefslogtreecommitdiff
path: root/plugins/ice/src
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-10-28 18:26:36 +0200
committerMarvin W <git@larma.de>2022-10-28 18:36:46 +0200
commita2f2224781a82121c86a1f19b309245bc8369a91 (patch)
tree0c641e32d058707595dfbb87e0b77774462c510a /plugins/ice/src
parent2ab7374aa53f70b30765a02865d92e6d71c6e623 (diff)
downloaddino-a2f2224781a82121c86a1f19b309245bc8369a91.tar.gz
dino-a2f2224781a82121c86a1f19b309245bc8369a91.zip
DTLS: Use ECDSA key
Diffstat (limited to 'plugins/ice/src')
-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 81ebfcbc..298c0061 100644
--- a/plugins/ice/src/dtls_srtp.vala
+++ b/plugins/ice/src/dtls_srtp.vala
@@ -76,7 +76,7 @@ public class Handler {
int err = 0;
X509.PrivateKey private_key = X509.PrivateKey.create();
- err = private_key.generate(PKAlgorithm.RSA, 2048);
+ err = private_key.generate(PKAlgorithm.ECDSA, 256);
throw_if_error(err);
var start_time = new DateTime.now_local().add_days(1);