Closed Bug 1095926 Opened 10 years ago Closed 10 years ago

Fix -Wcomment warning in OCSP test and mark some OCSP tests as FAIL_ON_WARNINGS

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The following -Wcomment warning in OCSP test code complains about a C++ comment's command line example containing a Bash backslash line-continuation character, which is unintentionally interpreted by the C preprocessor. This patch merges the two lines, which now exceeds 80 columns, but it does unify the command line example and make it easier to copy/paste as one line.

If you don't like that change, I can simply not mark that directory, (security/manager/ssl/tests/unit/tlsserver/lib) as FAIL_ON_WARNINGS or I could suppress that warning in that directory's moz.build.

security/manager/ssl/tests/unit/tlsserver/lib/OCSPCommon.cpp:174:5 [-Wcomment] multi-line comment
Attachment #8519451 - Flags: review?(dkeeler)
Attachment #8519451 - Flags: review?(dkeeler) → review+
https://hg.mozilla.org/mozilla-central/rev/7861642096c0
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: