Fix bad syntax in gnutls vapi, add libsrtp2 dependency to CI builds

This commit is contained in:
fiaxh 2021-04-12 22:21:28 +02:00
parent 2bee82f0b6
commit 328c3cf37f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: sudo apt-get update - 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: ./configure --with-tests --with-libsignal-in-tree
- run: make - run: make
- run: build/xmpp-vala-test - run: build/xmpp-vala-test

View file

@ -277,7 +277,7 @@ namespace GnuTLS {
public uint size; public uint size;
public uint8[] extract() { public uint8[] extract() {
uint8[size] ret = new uint8[size]; uint8[] ret = new uint8[size];
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
ret[i] = data[i]; ret[i] = data[i];
} }