Mihir Kulkarni <[email protected]> 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

_______________________________________________
Help-gnutls mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to