gnutls-devel
[Top][All Lists]
Advanced

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

Re: [gnutls-dev] gnutls_certificate_client_set_select_function vs _set_r


From: Nikos Mavroyanopoulos
Subject: Re: [gnutls-dev] gnutls_certificate_client_set_select_function vs _set_retrieve_function
Date: Wed, 28 Jul 2004 13:03:37 +0300
User-agent: KMail/1.6.2

On Wednesday 28 July 2004 11:10, Gergely Nagy wrote:
> Hi!

> I have a program here that uses
> gnutls_certificate_client_set_select_function, which got deprecated, and
> produces a warning. I'd like to get rid of that warning and at the same
> time, allow those users who didn't upgrade their GnuTLS yet to compile
> my program even when only _set_select_function is available, and
> _set_retrieve_function is not.
This function is deprecated because it will not be available in gnutls 1.2.0
(when released). All gnutls 1.0.x releases will be backwards compatible
and will contain this function. If you just want to get rid of the warning you
may add #define DEPRECATED
before including gnutls.h.

> And while I'm here - do I get it right, that unlike
> _set_select_function, which I used every time I created a
> gnutls_session, I should only use _set_retrieve_function once, after
> setting up the credentials-foo?
Yes.

> TIA,

-- 
Nikos Mavroyanopoulos



reply via email to

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