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

Added u16 endian loading/storing functions, SSL_CIPHER_find, and SSL_client_hello_get0_ciphers #1482

Merged
merged 19 commits into from
Apr 16, 2024

Conversation

smittals2
Copy link
Contributor

Description of changes:

Added u16 endian loading/storing functions, SSL_CIPHER_find, and SSL_client_hello_get0_ciphers and tested all of them.

Call-outs:

SSL_client_hello_get0_ciphers uses a new field added to ssl_st: ssl->client_hello_cipher_suites_arr.

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.

@smittals2 smittals2 requested a review from a team as a code owner March 8, 2024 23:33
crypto/endian_test.cc Outdated Show resolved Hide resolved
include/openssl/ssl.h Outdated Show resolved Hide resolved
ssl/ssl_cipher.cc Outdated Show resolved Hide resolved
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
ssl/ssl_cipher.cc Show resolved Hide resolved
ssl/ssl_cipher.cc Outdated Show resolved Hide resolved
ssl/internal.h Show resolved Hide resolved
ssl/ssl_test.cc Outdated Show resolved Hide resolved
ssl/ssl_test.cc Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 77.21%. Comparing base (1e4601e) to head (ff3a8ab).
Report is 25 commits behind head on main.

Files Patch % Lines
ssl/ssl_lib.cc 88.88% 2 Missing ⚠️
ssl/ssl_cipher.cc 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1482      +/-   ##
==========================================
+ Coverage   77.01%   77.21%   +0.19%     
==========================================
  Files         426      426              
  Lines       71738    71485     -253     
==========================================
- Hits        55252    55194      -58     
+ Misses      16486    16291     -195     

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

ssl/ssl_lib.cc Outdated Show resolved Hide resolved
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
andrewhop
andrewhop previously approved these changes Mar 18, 2024
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
@smittals2 smittals2 merged commit e91524c into aws:main Apr 16, 2024
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants