Skip to content

Reuse shared Unique_ASN1_OBJECT in attestation - #8437

Merged
Max (maxtropets) merged 3 commits into
mainfrom
copilot/8378-reuse-unique-asn1-object
Sep 23, 2026
Merged

Max (maxtropets) merged 3 commits into
mainfrom
copilot/8378-reuse-unique-asn1-object

Conversation

Copilot AI commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Reuse Unique_ASN1_OBJECT introduced in #8378.

✅ Long Test passed.

Co-authored-by: maxtropets <16566519+maxtropets@users.noreply.github.com>
@maxtropets
Max (maxtropets) marked this pull request as ready for review September 23, 2026 10:12
@maxtropets
Max (maxtropets) requested a review from a team as a code owner September 23, 2026 10:12
@maxtropets Max (maxtropets) added the run-long-test Run Long Test job label Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused refactor preserves existing resource-management behavior and introduces no unresolved issues.

Review effort: Balanced
Findings: None

What changed in this PR

Reuses the shared OpenSSL RAII wrapper for ASN.1 objects in attestation certificate parsing.

Changes:

  • Removes the duplicate local Unique_ASN1_OBJECT alias.
  • Uses the shared wrapper without changing ownership or null-check behavior.

Custom instructions used: .github/copilot-instructions.md, .github/instructions/reviewing.instructions.md, and the formatting/testing skills.

File Description
src/​pal/​attestation.cpp Replaces the local ASN.1 wrapper with the shared implementation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/pal/attestation.cpp
@maxtropets
Max (maxtropets) enabled auto-merge (squash) September 23, 2026 11:36
@maxtropets Max (maxtropets) removed the run-long-test Run Long Test job label Sep 23, 2026
@maxtropets
Max (maxtropets) merged commit ae1edcf into main Sep 23, 2026
19 of 23 checks passed
@maxtropets
Max (maxtropets) deleted the copilot/8378-reuse-unique-asn1-object branch September 23, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants