[PATCH 1/2] secur32: Added support for a few more algorithms in schannel_get_cipher_algid.

Hugh McMaster hugh.mcmaster at outlook.com
Wed Jun 17 05:57:15 CDT 2015

Hi Jacek,

On Wed, 17 Jun 2015 11:52:20 +0200, Jacek Caban wrote:
> I sent a fix, please test [1].
> BTW, while investigating it, I found that we will have more
> compatibility issues in the future. It seems that gnutls doesn't
> consider backward compatibility seriously [2].

Your patch compiles fine, but triggers warnings:

schannel_gnutls.c: In function ‘schannel_get_cipher_algid’:
schannel_gnutls.c:275:5: warning: case value ‘93’ not in enumerated type ‘gnutls_cipher_algorithm_t’ [-Wswitch]
     case GNUTLS_CIPHER_AES_128_GCM: return CALG_AES_128;
schannel_gnutls.c:277:5: warning: case value ‘94’ not in enumerated type ‘gnutls_cipher_algorithm_t’ [-Wswitch]
     case GNUTLS_CIPHER_AES_256_GCM:

I'm on Linux Mint 17. It uses a Trusty base. libgnutls-dev version is 2.12.23 (-12ubuntu2.2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150617/a66161b2/attachment.html>

More information about the wine-devel mailing list