HomeClusterLabs Projects

Refactor: libcrmcommon: Use gnutls_transport_set_int()
4bae382789d6Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: Use gnutls_transport_set_int()

And gnutls_transport_get_int(). As of GnuTLS 3.1.9, we no longer have to
use the _ptr() functions. The _int() functions are a simpler
alternative, assuming TCP is the transport layer.

As of this commit, there's no longer any real benefit to keeping
pcmk__tls_get_client_sock(), except to provide a layer of abstraction so
that GnuTLS library functions are called in fewer places.

https://gnutls.org/manual/html_node/Setting-up-the-transport-layer.html

Ref T967

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jan 8 2025, 5:20 PM
Parents
rPd20e0d1e6b44: Merge pull request #3786 from nrwahl2/nrwahl2-fixes
Branches
Unknown
Tags
Unknown

Event Timeline