help-gnutls
[Top][All Lists]
Advanced

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

Re: Error Code -56


From: Simon Josefsson
Subject: Re: Error Code -56
Date: Thu, 01 Mar 2012 12:22:01 +0100
User-agent: Gnus/5.130003 (Ma Gnus v0.3) Emacs/24.0.93 (gnu/linux)

Mihir Kulkarni <address@hidden> writes:

> Hello,
> We are trying out with Gnutls. We have created a dummy extension Foobar
> following the steps given in the manual. We are using
> "_gnutls_ext_set_session_data" in the client and then using
> "_gnutls_ext_get_session_data" in the server to retrieve the data. The
> value gets set correctly in client but when we retrieve it in the server,
> the get function returns -56 as error code. Our implementation of Foobar
> extension is almost similar to server-name extension already present in
> Gnutls.
> Can someone give some clarification as to what might be going wrong? Do let
> me know if more information is needed.

The error -56 means GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE, see gnutls.h.
Try running the server with debug logging and enabled, and in
particular, try to find exactly where the -56 error is triggered.

/Simon



reply via email to

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