Skip to content

lib: prefer CURL_SHA256_DIGEST_LENGTH over the unprefixed name - #14513

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib-more-curl-sha
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:lib-more-curl-sha

Conversation

@vszakats

@vszakats vszakats commented Aug 12, 2024 •

Copy link
Copy Markdown
Member

Already used in vtls.h. Prefer this curl-namespaced name over the
unprefixed SHA256_DIGEST_LENGTH. The latter is also defined by TLS
backends with a potential to cause issues.

Also stop relying on externel headers setting this constant. It's
already defined in vtls.h on curl's behalf, do this also for lib.

Cherry-picked from #14495
Closes #14513

Already used in `vtls.h`. Prefer this curl-namespaced name over the
unprefixed `SHA256_DIGEST_LENGTH`. The latter is also defined by TLS
backends with a potential to cause issues.

Cherry-picked from curl#14495
Closes curl#14513
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