Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ v3.0.4 - YYYY-MM-DD
- Fixed a potential buffer overflow in `cupsDNSSDAssembleFullName` on Windows
(Issue #170)
- Fixed a potential string overrun when loading .strings files (Issue #171)
- Fixed `cupsSignCredentialsRequest` to reject requests with a bad signature
when using OpenSSL.
- Fixed an issue with `cupsGetCredentialsTrust` for credentials that are signed
by an unknown CA.
- Fixed PAM support in `ippeveprinter`.
Expand Down
2 changes: 1 addition & 1 deletion cups/tls-openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ cupsSignCredentialsRequest(
return (false);
}

if (X509_REQ_verify(crq, X509_REQ_get_pubkey(crq)) < 0)
if (X509_REQ_verify(crq, X509_REQ_get_pubkey(crq)) <= 0)
{
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to verify X.509 certificate request."), true);
goto done;
Expand Down
Loading