https://bugs.winehq.org/show_bug.cgi?id=48800
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- There's this code Wine:
#if GNUTLS_VERSION_MAJOR < 3 ... #define GNUTLS_CURVE_TO_BITS(curve) (unsigned int)(((unsigned int)1<<31)|((unsigned int)(curve)))
What version of GnuTLS are you building against?