help-gnutls
[Top][All Lists]
Advanced

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

Re: Question about gnutls_global_set_log_function()


From: Nikos Mavrogiannopoulos
Subject: Re: Question about gnutls_global_set_log_function()
Date: Sun, 19 Aug 2012 09:17:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120805 Icedove/10.0.6

On 08/19/2012 06:23 AM, Murray S. Kucherawy wrote:

> I suppose I'm comparing this to the openssl method where there's a
> per-thread queue of error codes which can then be translated to
> strings.  You might get 0 or 1 back from RSA_verify(), for example,
> but if you want detail you have to go into the per-thread error stack,
> extract codes, and translate them to strings.
> 
> It may be the case that the GNUTLS equivalent functions are more
> descriptive.  If that's the case, then I probably don't need this
> capability after all.


Indeed. There is nothing like an errno style of error codes in gnutls.
Each function returns a proper error code.

regards,
Nikos




reply via email to

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