Skip to content

Commit

Permalink
Install libgnutls within the CI flow (#315)
Browse files Browse the repository at this point in the history
* Install libgnutls within the CI flow

* Installing gnutls only on ubuntu

* Simplify SSL priorities list string in test
  • Loading branch information
etr committed Apr 14, 2023
1 parent 8c21c40 commit 515ddec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,11 @@ jobs:
sudo apt-get install cppcheck ;
if: ${{ matrix.os-type == 'ubuntu' }}

- name: Setup gnutls dependency (only on linux)
run: |
sudo apt-get install libgnutls28-dev ;
if: ${{ matrix.os-type == 'ubuntu' }}

- name: Fetch libmicrohttpd from cache
id: cache-libmicrohttpd
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion test/integ/ws_start_stop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ LT_BEGIN_AUTO_TEST(ws_start_stop_suite, ssl_with_protocol_priorities)
.use_ssl()
.https_mem_key("key.pem")
.https_mem_cert("cert.pem")
.https_priorities("NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+RSA:+COMP-NULL");
.https_priorities("NONE:+AES-256-GCM:+SHA384");

ok_resource ok;
ws.register_resource("base", &ok);
Expand Down

0 comments on commit 515ddec

Please sign in to comment.