[gnutls-devel] GnuTLS | liboqs: manually load liboqs.so at startup (!1852)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jul 23 02:53:50 CEST 2024



Daiki Ueno created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1852

Project:Branches: dueno/gnutls:wip/dueno/hybrid-kx-liboqs-followup to gnutls/gnutls:master
Author:   Daiki Ueno




<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->

* tests: pqc-hybrid-kx: use key and certificate in distribution

The Ed25519 key and certificate in doc/credentials/x509/ are currently
not included in the distribution.  Use the ECDSA ones in the test to
make the test work.

Signed-off-by: Daiki Ueno <ueno at gnu.org>

* liboqs: manually load liboqs.so at startup

This is to load liboqs.so through gnutls_oqs_ensure_library at
startup.  Without that, the dlopen logic still works thanks to the
default loader that will be enabled if OQS_LIBRARY_SONAME, though it
is not possible to unload it with gnutls_oqs_unload_library.

Signed-off-by: Daiki Ueno <ueno at gnu.org>

## Checklist
 * [x] Commits have `Signed-off-by:` with name/author being identical to the commit author
 * [ ] Code modified for feature
 * [ ] Test suite updated with functionality tests
 * [ ] Test suite updated with negative tests
 * [ ] Documentation updated / NEWS entry present (for non-trivial changes)
 * [ ] CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)

## Reviewer's checklist:
 * [ ] Any issues marked for closing are addressed
 * [ ] There is a test suite reasonably covering new functionality or modifications
 * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md`
 * [ ] This feature/change has adequate documentation added
 * [ ] No obvious mistakes in the code

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1852
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20240723/3486416f/attachment.html>


More information about the Gnutls-devel mailing list