[Help-gnutls] Re: Unknown type '0' for SNI: 'foo.domain.bar'

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Aug 21 09:27:17 CEST 2007

On Tuesday 21 August 2007, Simon Josefsson wrote:

> Yeah, if the code receives a type!=0, the type stored in gnutls will be
> 0, and no part of the string is stored.  That seems sub-optimal.  How
> about this patch?

Should solve this problem... but still the dns name is truncated. It seems in 
that case the MAX_SERVER_NAME_SIZE is not adequate (maybe it is a utf-8 
name?). I don't know how many utf-8 dns names are there but it might be 
useful to increase it on the first next binary incompatible release.


More information about the Gnutls-help mailing list