[gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes
Nikos Mavrogiannopoulos
nmav at gnutls.org
Thu Nov 15 21:01:48 CET 2007
On Thursday 15 November 2007, Simon Josefsson wrote:
> Updated release notes wrt to the API/ABI changes below.
>
> After consideration, I believe we should revert the change to deprecate
> gnutls_set_default_priority(). It is a widely used function and
> gnutls_set_default_priority2() doesn't offer any significant difference
> for most applications. I think people will think that we just change
> the API for no reason if we make this change. What do others think?
> Nikos is this ok with you?
> Further, I believe we could improve the gnutls_set_default_priority2()
> API. Right now it is difficult to use from applications. Each
> application would need to have a configuration file token (e.g.,
> 'gnutls-priority: EXPORT') or command line parameter (e.g.,
> --gnutls-priority PERFORMANCE) that map to the GnuTLS enum types. A
> serious problem is that there would be no consistency between GnuTLS
> applications on what the enum names should be and their meaning.
>
> I think it would be better if we had a function like:
>
> int gnutls_set_priority (gnutls_session_t session,
> const char *priority);
This has the problem of having to parse strings. But anyway it is a step
forward.
regards,
Nikos
More information about the Gnutls-devel
mailing list