[Bug 46599] New: GNUTLS_PK_ECDSA not found in recent gnutls.h

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 8 11:24:49 CST 2019


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 at winehq.org
          Reporter: isakov-sl at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list