From 328c3cf37f296f4519829afd03d21f94ea4153e5 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 12 Apr 2021 22:21:28 +0200 Subject: Fix bad syntax in gnutls vapi, add libsrtp2 dependency to CI builds --- .github/workflows/build.yml | 2 +- plugins/ice/vapi/gnutls.vapi | 2 +- 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]; } -- cgit v1.2.3-70-g09d2