[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] GnuTLS 1.7.17 -- Last call for next stable major releas
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] GnuTLS 1.7.17 -- Last call for next stable major release v2.0! |
Date: |
Mon, 27 Aug 2007 16:39:52 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Simon Josefsson <address@hidden> 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