https://bugs.winehq.org/show_bug.cgi?id=46599
Bug ID: 46599 Summary: GNUTLS_PK_ECDSA not found in recent gnutls.h Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru Distribution: ---
Compilation in macOS 10.13.6 with Xcode10.1 and recent gnutls library installed by MacPort failed with claim that GNUTLS_PK_ECDSA is undefined.
dll/bcrypt/gnutls.c ~~~ #if GNUTLS_VERSION_MAJOR < 3 #define GNUTLS_CIPHER_AES_192_CBC 92 #define GNUTLS_CIPHER_AES_128_GCM 93 #define GNUTLS_CIPHER_AES_256_GCM 94 #define GNUTLS_PK_ECC 4 #define GNUTLS_PK_ECDSA 4 ~~~~
But file gnutls.h having version #define GNUTLS_VERSION "3.3.12" and doesn't contain GNUTLS_PK_ECDSA so I just replace it by GNUTLS_PK_ECC that has the same value.
I don't know initial idea of (#if GNUTLS_VERSION_MAJOR < 3) so I can't propose the common patch.
https://bugs.winehq.org/show_bug.cgi?id=46599
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- This applies to wine-staging only, right?
https://bugs.winehq.org/show_bug.cgi?id=46599
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |leslie_alistair@hotmail.com
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Sergey Isakov from comment #0)
But file gnutls.h having version #define GNUTLS_VERSION "3.3.12" and doesn't contain GNUTLS_PK_ECDSA so I just replace it by GNUTLS_PK_ECC that has the same value.
I've already updated the this patch a few times for various compile issues, including this one.
(In reply to Hans Leidekker from comment #1)
This applies to wine-staging only, right?
Yes only in staging.
https://bugs.winehq.org/show_bug.cgi?id=46599
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown CC| |z.figura12@gmail.com Product|Wine |Wine-staging
https://bugs.winehq.org/show_bug.cgi?id=46599
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Fixed Staging bugs.