Skip to content

Commit

Permalink
Mirror fix from CUPS 2.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Aug 14, 2024
1 parent e4be3c5 commit 2204629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups/tls-openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ cupsGetCredentialsTrust(

trust = HTTP_TRUST_INVALID;
}
else if (!cupsAreCredentialsValidForName(credentials, common_name))
else if (!cupsAreCredentialsValidForName(common_name, credentials))
{
// The common name does not match the issued certificate...
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are not valid for name."), true);
Expand Down

0 comments on commit 2204629

Please sign in to comment.