-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed SSL_client_hello_get0_ciphers to align with OpenSSL behavior (#…
…1542) ### Description of changes: This PR aligns SSL_client_hello_get0_ciphers with OpenSSL's behavior. Previously, it returned only the ciphers supported by our library. Now, it offers all ciphersuites from the client hello, including unsupported ones. 1. New fields added to SSL struct, |all_client_cipher_suites| and |all_client_cipher_suites_len| 2. |ssl_parse_client_cipher_list| modified to also populate |ssl->all_client_cipher_suites|. Function signature also modified to take in an SSL object 3. Rewrote | SSL_client_hello_get0_ciphers| 4. Changed documentation to better callout the differences between which ciphersuites are returned (supported or unsupported) 5. Added tests for TLS 1.2 and 1.3 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.
- Loading branch information
Showing
6 changed files
with
179 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters