mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-04 00:02:01 -04:00
Check unresolved symbols when compiled with OQS_DLOPEN_OPENSSL (#2058)
As a follow-up of commit 64bceb37fafa9b90cf228965079de9ebd77a83b9, this checks that the library artifacts don't contain any unresolved symbols from libcrypto.so when it is dynamically loaded. Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
parent
4b34efeaec
commit
f877812314
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
@ -123,6 +123,12 @@ jobs:
|
||||
- name: Build
|
||||
run: ninja
|
||||
working-directory: build
|
||||
- name: Check the library artifacts
|
||||
if: matrix.name == 'jammy-std-openssl3-dlopen'
|
||||
run: |
|
||||
nm -gu lib/liboqs.so | sed -n 's/^[[:space:]]*[Uw] \([^_].*\)/\1/p' > undefined-syms.txt &&
|
||||
! (grep '^\(CRYPTO\|ERR\|EVP\|OPENSSL\|RAND\)_' undefined-syms.txt)
|
||||
working-directory: build
|
||||
- name: Run tests
|
||||
timeout-minutes: 60
|
||||
run: mkdir -p tmp && python3 -m pytest --verbose --ignore=tests/test_code_conventions.py --numprocesses=auto ${{ matrix.PYTEST_ARGS }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user