Skip to content

Commit 67a0553

Browse files
committed
stir_shaken: Build with OpenSSL on Ubuntu 20.04
This fixes the unit tests CI on Ubuntu 20.04, where we don't want to build against WolfSSL (no OID support yet).
1 parent 49f2714 commit 67a0553

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎.github/workflows/unittests.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
env:
4141
COMPILER: ${{ matrix.compiler }}
4242
BUILD_OS: ubuntu:${{ matrix.os }}
43+
# Focal's wolfSSL lacks the custom-OID APIs needed for TNAuthList.
44+
STIR_SHAKEN_OPENSSL: ${{ matrix.os == '20.04' && '1' || '' }}
4345

4446
strategy:
4547
fail-fast: false

‎modules/stir_shaken/README.md‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ The following libraries or applications must be installed before running
3232
OpenSIPS with this module loaded:
3333

3434

35-
- *wolfssl (libwolfssl)*.
35+
- *wolfssl (libwolfssl)*, or *OpenSSL (libcrypto)* when building with
36+
`STIR_SHAKEN_OPENSSL=1`.
37+
38+
Older wolfSSL releases, such as Ubuntu 20.04's packaged version, cannot handle
39+
the custom TNAuthList OID required by this module. Use the OpenSSL backend on
40+
these systems:
41+
42+
```console
43+
make -B -j4 modules/stir_shaken STIR_SHAKEN_OPENSSL=1
44+
```
3645

3746

3847
### Exported Parameters

0 commit comments

Comments
 (0)