https://bugs.winehq.org/show_bug.cgi?id=53366
Bug ID: 53366 Summary: Can't compile AES-CCM support prior to GNUTLS version 3.4.0 Product: Wine Version: 7.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: secur32 Assignee: wine-bugs@winehq.org Reporter: o.dierick@piezo-forte.be Distribution: ---
Created attachment 72752 --> https://bugs.winehq.org/attachment.cgi?id=72752 Patch makes AES-CCM conditional to GNUTLS version >= 3.4.0
Hello,
AES-CCM support was added in GNUTLS version 3.4.0 [1]
Since commit 99e2f4caca474d14efd55e6a008bd57c720e0fd7, compiling on GNUTLS 3.3.30 (shipped with Debian 8) fails with undefined GNUTLS_CIPHER_AES_128_CCM and GNUTLS_CIPHER_AES_256_CCM in dlls/secur32/schannel_gnutls.c.
The attached patch fixes the compilation error by adding conditional pre-processor statements around them.
[1] https://www.gnutls.org/abi-tracker/changelog/gnutls/3.4.4/log.html
Regards.