Skip to content

curl_sha512_256: fix symbol collisions with nettle library - #14514

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib-nettle-macro-collision
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib-nettle-macro-collision

Conversation

@vszakats

@vszakats vszakats commented Aug 12, 2024 •

Copy link
Copy Markdown
Member

SHA512_256_BLOCK_SIZE, SHA512_256_DIGEST_SIZE macros were both
defined within curl and also in the nettle library required by GnuTLS.

Fix it by namespacing the curl macros.

Cherry-picked from #14495
Closes #14514

`SHA512_256_BLOCK_SIZE`, `SHA512_256_DIGEST_SIZE` macros were both
defined within curl and also in the nettle library required by gnutls.

Fix it by namespacing the curl macros.

Cherry-picked from curl#14495
Closes curl#14514
@github-actions github-actions Bot added the tests label Aug 12, 2024
@vszakats vszakats closed this in af73743 Aug 13, 2024
@vszakats
vszakats deleted the lib-nettle-macro-collision branch August 13, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant