[gnutls-dev] GnuTLS 1.7.17 -- Last call for next stable major release v2.0!

Simon Josefsson simon at josefsson.org
Mon Aug 27 16:39:52 CEST 2007


Simon Josefsson <simon at josefsson.org> writes:

>> #3. The existence of two similar print_info() functions in
>> doc/examples/ex-session-info.c and src/common.c is a little bit
>> strange, and neither of these handles all currently available values for 
>> gnutls_credentials_type_t:
>>
>> ex-session-info.c:32: warning: enumeration value 'GNUTLS_CRD_PSK' not handled in switch
>> ex-session-info.c:32: warning: enumeration value 'GNUTLS_CRD_IA' not handled in switch
>>
>> common.c:494: warning: enumeration value 'GNUTLS_CRD_IA' not handled in switch
>
> I'll look into this.

I have fixed the warnings.  I'm not sure how to avoid the code
duplication.  Possibly there should be something like that in the core
library, I suspect many applications want to print some info about the
current connection.

/Simon



More information about the Gnutls-dev mailing list