Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc Improvements (2) #10855

Merged
merged 9 commits into from
Jan 6, 2025
Merged

Misc Improvements (2) #10855

merged 9 commits into from
Jan 6, 2025

Conversation

Ashod
Copy link
Contributor

@Ashod Ashod commented Jan 6, 2025

  • wsd: cosmetics
  • wsd: use non-deprecated SSL_get1_peer_certificate
  • wsd: string -> string_view
  • wsd: include cleanup
  • wsd: log the OpenSSL version
  • wsd: as of C++17 [[fallthrough]] is standard
  • wsd: constexpr string_view

Ashod added 7 commits January 5, 2025 21:08
Change-Id: Ib1c72b73e892f2416c2493e4bf03736e07a459d1
Signed-off-by: Ashod Nakashian <[email protected]>
SSL_get1_peer_certificate doesn't auto-release
the x509 instance, and lets us handle the
lifetime, which is what we need.

The now-deprecated SSL_get_peer_certificate
was already mapped to SSL_get1_peer_certificate.

Change-Id: Ic57586d114ec66bedb48005eb8cdf304565d8a6a
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: Ic6c0621d009c18a6789527add65c2fd2ebb701d9
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: I97cda4267af25791fa54e18c05958a7c131f15c0
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: Ibd5eb673b81db4aa56439c6463ccae61e7c8cf6a
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: I16f4639feb6978f847a762a88a4de579db5476b3
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: I9b333b4e9588c418e7160b843dfcd10b5542198f
Signed-off-by: Ashod Nakashian <[email protected]>
@Ashod Ashod changed the title private/ash/misc2 Misc Improvements (2) Jan 6, 2025
Ashod added 2 commits January 5, 2025 21:38
Change-Id: Ia9a7a6a856b09d8679fa46ee2dd3dde685baad75
Signed-off-by: Ashod Nakashian <[email protected]>
Change-Id: Ia10ae28a0cf9f4e5c5345dbc60da71a341d63e26
Signed-off-by: Ashod Nakashian <[email protected]>
@Ashod Ashod requested a review from caolanm January 6, 2025 13:37
Copy link
Contributor

@caolanm caolanm left a comment

Choose a reason for hiding this comment

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

looks all straight forward to me

@caolanm caolanm merged commit 92f7a1f into master Jan 6, 2025
14 checks passed
@caolanm caolanm deleted the private/ash/misc2 branch January 6, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants