Skip to content

Reformat canned certs#7510

Merged
cjen1-msft merged 3 commits intomicrosoft:mainfrom
cjen1-msft:clean-up-canned-certs
Dec 4, 2025
Merged

Reformat canned certs#7510
cjen1-msft merged 3 commits intomicrosoft:mainfrom
cjen1-msft:clean-up-canned-certs

Conversation

@cjen1-msft
Copy link
Copy Markdown
Contributor

We had a couple of canned certs which were horribly formatted.
This tidies them up.

Copilot AI review requested due to automatic review settings December 4, 2025 15:00
@cjen1-msft cjen1-msft requested a review from a team as a code owner December 4, 2025 15:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reformats hardcoded certificate and key strings in test files to improve readability by converting awkwardly broken multi-line concatenations into clean, single-line-per-certificate-line format.

  • Reformatted three certificate strings and one public key string across two test files
  • Changed from fragmented string concatenations to clear line-by-line format with explicit newline characters
  • Maintained identical certificate content while improving code readability

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/crypto/test/pem.cpp Reformatted a test certificate string from fragmented concatenation to clean line-by-line format
src/crypto/test/crypto.cpp Reformatted one public key string and two certificate strings (with \n and \r\n line endings respectively) for better readability

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@cjen1-msft cjen1-msft enabled auto-merge (squash) December 4, 2025 16:05
@cjen1-msft cjen1-msft merged commit 7ac514a into microsoft:main Dec 4, 2025
17 checks passed
@cjen1-msft cjen1-msft deleted the clean-up-canned-certs branch January 16, 2026 11:57
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.

3 participants