krb5_sspi: fix error message on DecryptMessage() fail

Spotted by GitHub Code Quality

Closes #22003
This commit is contained in:
Viktor Szakats 2026-06-14 12:18:46 +02:00
parent ba16b83221
commit c61f007a73
No known key found for this signature in database

View file

@ -297,7 +297,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct Curl_easy *data,
SECBUFFER_STREAM. */
status = Curl_pSecFn->DecryptMessage(krb5->context, &input_desc, 0, &qop);
if(status != SEC_E_OK) {
infof(data, "GSSAPI handshake failure (empty security message)");
infof(data, "GSSAPI handshake failure (decryption failed)");
return CURLE_BAD_CONTENT_ENCODING;
}