Skip to content

curl does not compile with gnutls 3.6.13 to 3.7.1 #21750

@jschlatow

Description

@jschlatow

I did this

For gnutls 3.6.13 and later, curl enables early data:

curl/lib/vtls/gtls.c

Lines 75 to 77 in 5ab34cb

#if GNUTLS_VERSION_NUMBER >= 0x03060d
#define CURL_GNUTLS_EARLY_DATA
#endif

However, building against gnutls 3.6.13 fails at the following line because GNUTLS_NO_END_OF_EARLY_DATA was only introduced with gnutls 3.7.2.

init_flags |= GNUTLS_ENABLE_EARLY_DATA | GNUTLS_NO_END_OF_EARLY_DATA;

I expected the following

No response

curl/libcurl version

curl 8.20.0

operating system

any

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions