Skip to content

Removed the newly introduced gnutls_priority_set2()

username-removed-105950 requested to merge tmp-priority-set2-remove into master

The idea initially was to use gnutls_priority_set() function which will copy the ciphersuite priority values to the session_t structure, while gnutls_priority_set2() would allow setting a reference/pointer to them, in order to save memory.

However, that would complicate API, so instead use reference counting in gnutls_priority_set() and always set a reference to the priorities.

Resolves #233 (closed)

Edited by username-removed-105950

Merge request reports