8000 Impl BIO_ADDR_xxx functions by justsmth · Pull Request #2439 · aws/aws-lc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Impl BIO_ADDR_xxx functions #2439

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

Merged
merged 4 commits into from
Jun 18, 2025
Merged

Impl BIO_ADDR_xxx functions #2439

merged 4 commits into from
Jun 18, 2025

Conversation

justsmth
Copy link
Contributor
@justsmth justsmth commented May 27, 2025

Description of changes:

Implementation of several BIO_ADDR-related functions (BIO_ADDR_new,BIO_ADDR_free,BIO_ADDR_clear,BIO_ADDR_rawmake,BIO_ADDR_family,BIO_ADDR_rawaddress, and BIO_ADDR_rawport) as described by OpenSSL here.

Call-outs:

I skipped implementation of BIO_ADDR_hostname_string, BIO_ADDR_service_string, and BIO_ADDR_path_string as I had trouble finding anywhere they were actually used. I can add these if we think they will be needed.

Testing:

Added tests to increase code coverage.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

Copy link
Contributor
@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@codecov-commenter
Copy link
codecov-commenter commented May 27, 2025

Codecov Report

Attention: Patch coverage is 78.36538% with 45 lines in your changes missing coverage. Please review.

Project coverage is 78.95%. Comparing base (2471f91) to head (5f4caa0).

Files with missing lines Patch % Lines
crypto/bio/bio_socket_test.cc 68.80% 20 Missing and 14 partials ⚠️
crypto/bio/bio_addr.c 88.54% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2439    +/-   ##
========================================
  Coverage   78.94%   78.95%            
========================================
  Files         635      636     +1     
  Lines      109272   109442   +170     
  Branches    15446    15475    +29     
========================================
+ Hits        86270    86407   +137     
- Misses      22323    22343    +20     
- Partials      679      692    +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@justsmth justsmth force-pushed the BIO_ADDR_xxx branch 8 times, most recently from 103c016 to 0c00c15 Compare May 28, 2025 20:10
@justsmth justsmth changed the title [DRAFT] Impl BIO_ADDR_xxx functions Impl BIO_ADDR_xxx functions May 28, 2025
@justsmth justsmth marked this pull request as ready for review May 28, 2025 21:24
@justsmth justsmth requested a review from a team as a code owner May 28, 2025 21:24
@justsmth justsmth merged commit 9f026d8 into aws:main Jun 18, 2025
123 of 126 checks passed
@justsmth justsmth deleted the BIO_ADDR_xxx branch June 18, 2025 00:58
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
0