Repository navigation
Conversation
There was a problem hiding this comment.
Superseded by the review of
e7aa3f24.
This review, of e6aba897
💬 Approved with comments — The change is small and correct. The only comment is an optional suggestion to make the new test check more than that each policy is accepted.
Findings: 1 suggestion (1 is an inline comment on the diff)
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #590.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## SUGGESTION (1)
### [Code Quality] `boring/src/ssl/test/mod.rs:1725-1730`: the new test only checks that setting each policy succeeds and asserts nothing about the resulting configuration. The loop also shadows `ctx`.
- **File:** boring/src/ssl/test/mod.rs:1726
📋 Code Quality: 💬 1 suggestion
The new policies are exposed correctly. The new test could assert more.
Recommendation: 💬 Optional Nits
- [SUGGESTION]
boring/src/ssl/test/mod.rs:1725-1730: the new test only checks that setting each policy succeeds and asserts nothing about the resulting configuration. The loop also shadowsctx. (boring/src/ssl/test/mod.rs:1726)
View full review
boring/src/ssl/test/mod.rs:1715-1731:test_all_compliance_policiesonly checks that setting each policy succeeds. It asserts nothing about the configuration that results. In the loop,ctxis also shadowed by a second binding.
✅ All other checks passed
🔒 Security: ✅ LGTM
No security issues found.
📝 Documentation: ✅ LGTM
No documentation issues found.
Reviewed commit: e6aba897
e6aba89 to
e7aa3f2
Compare
There was a problem hiding this comment.
✅ Approved — Small, correct change. The earlier test suggestion is fixed and nothing else needs changing.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🔒 Security: ✅ LGTM
No security issues found.
📋 Code Quality: ✅ LGTM
The new constants map one-to-one to the ssl_compliance_policy_* variants. The legacy-compat-deprecated feature is still declared, so builds that enable it keep working, and it now does nothing. The test asserts the recorded policy through SSL_CTX_get_compliance_policy and SSL_get_compliance_policy, and it no longer shadows ctx.
📝 Documentation: ✅ LGTM
No documentation issues found.
Reviewed commit: e7aa3f24
This exposes the FIPS 202609 and CNSA compliance policies available in the pinned BoringSSL revision.
The deprecated legacy compatibility feature remains accepted as a no-op instead of hiding enum values.
This supersedes #556 by exposing all currently available policies rather than only FIPS 202609.