aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-04-12 22:21:28 +0200
committerfiaxh <git@lightrise.org>2021-04-12 22:22:39 +0200
commit328c3cf37f296f4519829afd03d21f94ea4153e5 (patch)
treeb70ce492e42a9c81d3c8dcfff88d9d950c15508a
parent2bee82f0b6b1d7fb64c7c446257037ba17129baa (diff)
downloaddino-328c3cf37f296f4519829afd03d21f94ea4153e5.tar.gz
dino-328c3cf37f296f4519829afd03d21f94ea4153e5.zip
Fix bad syntax in gnutls vapi, add libsrtp2 dependency to CI builds
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--plugins/ice/vapi/gnutls.vapi2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2ec82dd5..ce12d441 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,7 +6,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update
- - run: sudo apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev libgspell-1-dev libnice-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
+ - run: sudo apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev libgspell-1-dev libnice-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libsrtp2-dev
- run: ./configure --with-tests --with-libsignal-in-tree
- run: make
- run: build/xmpp-vala-test
diff --git a/plugins/ice/vapi/gnutls.vapi b/plugins/ice/vapi/gnutls.vapi
index a8f75e14..bc3f13d0 100644
--- a/plugins/ice/vapi/gnutls.vapi
+++ b/plugins/ice/vapi/gnutls.vapi
@@ -277,7 +277,7 @@ namespace GnuTLS {
public uint size;
public uint8[] extract() {
- uint8[size] ret = new uint8[size];
+ uint8[] ret = new uint8[size];
for (int i = 0; i < size; i++) {
ret[i] = data[i];
}