gnutls_ext_raw_parse returns GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE
I think this is a documentation problem, not a code problem.
Description of problem:
gnutls_ext_raw_parse() unexpectedly returns GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE
Version of gnutls used:
3.7.1-5+deb11u2
Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Debian
How reproducible:
Steps to Reproduce:
send a client_hello packet containig no extensions, eg: this one (hex):
16030000430100003f0302ffffffff923e9988d02b8fc276bdcf02ccb6fc3900 d052828c650ccd8c0200400000180033003900450088001600350084002f0041 000a000500040100
Actual results:
it returns GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE
Expected results:
I was expecting GNUTLS_E_SUCCESS