gnutls-devel
[Top][All Lists]
Advanced

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

Re: Features removed from gnutlsxx


From: Jim Lloyd
Subject: Re: Features removed from gnutlsxx
Date: Tue, 27 Mar 2012 11:01:44 -0700

Nikos, can you provide a little more background information on these changes? Which interfaces were deprecated? In what release(s) did the deprecations happen? Was there any kind of document(s) produced at the time that described the reason(s) for the deprecations and the recommended approaches for updating applications that relied on the deprecated interfaces?

I'm also curious about the differences between the recent versions of 2.x versus 3.x. Normally interface changes would dictate that the major version number be incremented. I assume that 3.x has even more interface changes than the ones I am running into with 2.12. But I wonder if the additional changes are minor enough that perhaps I would be better off making the jump all the way to 3.x?

Thanks,
Jim Lloyd

On Tue, Mar 27, 2012 at 5:21 AM, Nikos Mavrogiannopoulos <address@hidden> wrote:
Hello,
 Unfortunately this was removed because I couldn't mix deprecated
attribute with C++. You'd have to either call the deprecate function
from your code, or use the gnutls_priority_set_direct(). Unfortunately
the C++ interface isn't actively supported and it only supports a very
small subset of gnutls' interface. I'm not sure whether shipping it is
something useful for c++ projects.

regards,
Nikos

On Tue, Mar 27, 2012 at 2:11 AM, Jim Lloyd <address@hidden> wrote:
> Hello,
>
> I'm in the process of upgrading an application previously used 2.8.5 to
> 2.12.x in order to take advantage of PKCS11 support added in gnutls 2.12.0.
>
> I notice that sometime between 2.8.5 and 2.12.18 that several previously
> implemented methods in gnutlsxx now throw unimplemented exceptions. For
> example:
>
>   void session::set_cipher_priority (const int *list)
>   {
>     RETWRAP (GNUTLS_E_UNIMPLEMENTED_FEATURE);
>   }
>
> which previously was implemented as:
>
> void session::set_cipher_priority (const int *list)
> {
>     RETWRAP( gnutls_cipher_set_priority( s, list));
> }
>
> Is there any documentation for why support for these features were removed
> from gnutlsxx? Or perhaps there is a way to enable them via a configuration
> option?
>
> Thanks,
> Jim Lloyd
>
>
> _______________________________________________
> Gnutls-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnutls-devel
>


reply via email to

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