Question about gnutls_global_set_log_function()

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Aug 19 09:17:25 CEST 2012


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





More information about the Gnutls-help mailing list