RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1404575 - TRUE and FALSE vs true and false
Summary: TRUE and FALSE vs true and false
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: freerdp
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ondrej Holy
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1479818
TreeView+ depends on / blocked
 
Reported: 2016-12-14 07:18 UTC by Michael Peters
Modified: 2018-04-10 11:39 UTC (History)
2 users (show)

Fixed In Version: freerdp-1.0.2-11.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:38:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The fix for patch 9. Causes 10 and 11 to need fixes too. (1.37 KB, patch)
2016-12-14 07:18 UTC, Michael Peters
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0724 0 None None None 2018-04-10 11:39:49 UTC

Description Michael Peters 2016-12-14 07:18:06 UTC
Created attachment 1231453 [details]
The fix for patch 9. Causes 10 and 11 to need fixes too.

Description of problem:
When attempting to rebuild source against LibreSSL, build fails with undeclared TRUE.


Version-Release number of selected component (if applicable):
1.0.2-10

How reproducible:
Always

Steps to Reproduce:
1. Install LibreSSL
2. change BuildRequires: openssl-devel to BuildRequires: pkgconfig(openssl)
3. Build in a mock environment where libressl-devel is used

Actual results:
TRUE and FALSE from Patch9: 1-Add-support-for-Wildcard-Certificates-2-For-Gatewa.patch result in compiler error, undeclared TRUE, first use, blah

Expected results:
Should compile

Additional info:
In patch9 if you change the TRUE to true and the FALSE to false then it works.

Patch10 and Patch11 are impacted by those case changes.

I don't know why it builds with OpenSSL (well I haven't tried but obviously it does) but it doesn't build with LibreSSL unless changing case. I'm not a C person but I do know TRUE and FALSE need to be declared.

An additional patch is also needed to build against LibreSSL but that's beyond the scope of RHEL. This I think is within scope because I think its a coding bug.

I'm a little drunk right now so I apologize if I don't make senase.

Comment 2 Ondrej Holy 2016-12-15 08:30:38 UTC
FreeRDP master uses TRUE/FALSE and defines them in include/freerdp/types.h, so I probably forgot renaming them when backporting and it was built thanks to some definitions from OpenSSL header files probably. It would be nice to fix it, however, I suppose that we don't support LibreSSL, so it is not such a big problem currently...

Comment 8 errata-xmlrpc 2018-04-10 11:38:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0724


Note You need to log in before you can comment on or make changes to this bug.