Skip to content

curl_sha512_256: fix result code on error#21767

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:curl_sha512_256-curle
Closed

curl_sha512_256: fix result code on error#21767
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:curl_sha512_256-curle

Conversation

@vszakats

@vszakats vszakats commented May 27, 2026

Copy link
Copy Markdown
Member

Replace result code CURLE_SSL_CIPHER with
CURLE_BAD_FUNCTION_ARGUMENT in case of a low-level digest function
fails. Functionality is related to vauth, not SSL, and the operation is
a digest, not a cipher.

Also fix a indentation.

Follow-up to 05268cf #13070

Replace result code CURLE_SSL_CIPHER with CURLE_BAD_FUNCTION_ARGUMENT
in case of a low-level digest function fails.

Also fix a bad indentation.
@vszakats vszakats force-pushed the curl_sha512_256-curle branch from fdc782c to 6a227f3 Compare May 27, 2026 14:56
@vszakats vszakats closed this in c7f0267 May 27, 2026
@vszakats vszakats deleted the curl_sha512_256-curle branch May 27, 2026 14:59
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Replace result code `CURLE_SSL_CIPHER` with
`CURLE_BAD_FUNCTION_ARGUMENT` in case of a low-level digest function
fails. Functionality is related to vauth, not SSL, and the operation is
a digest, not a cipher.

Also fix a indentation.

Follow-up to 05268cf curl#13070

Closes curl#21767
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