[gnutls-devel] GnuTLS | lib: clarify docs for gnutls_credentials_set (!2034)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Oct 29 14:31:50 CET 2025
Daniel P_ Berrangé created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2034
Project:Branches: berrange/gnutls:cred-set-docs to gnutls/gnutls:master
Author: Daniel P_ Berrangé
<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->
* lib: clarify docs for gnutls_credentials_set
Make it explicit that only a single credentials object of a given
type may be set against a session. Any further attempts to set
credentials for a type will replace previously set crdentials.
The act of replacement also allows the previously set credentials
to be freed by the caller.
Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
## Checklist
* [ ] 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)
## 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/2034
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/20251029/d7ce7f65/attachment.html>
More information about the Gnutls-devel
mailing list