gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API chang


From: Nikos Mavrogiannopoulos
Subject: Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes
Date: Thu, 15 Nov 2007 22:01:48 +0200
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]