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

Define OPENSSL_NO_TLS_PHA, typedef PSK callback signatures #1526

Merged
merged 5 commits into from
Apr 19, 2024

Commits on Apr 18, 2024

  1. Define OPENSSL_NO_PHA, typedef PSK callback signatures

    This commit defines a new configuration macro `OPENSSL_NO_PHA`. This
    macro is meant to be used by consuming applications to detect the fact
    that we (or other libssls) don't support TLSv1.3's post-handshake
    authentication (PHA). We then use this macro in place of
    `OPENSSL_IS_AWSLC` to detect PHA support in our CPython patch.
    
    We also enable PSK in our CPython patch and create two PSK-related
    callback function signatures [defined by OpenSSL][1] and used by
    CPython.
    
    Finally, we fix the now-executed PSK tests in CPython.
    
    [1]: https://www.openssl.org/docs/man1.1.1/man3/SSL_psk_client_cb_func.html
    WillChilds-Klein committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    4741c1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39fa070 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac52c60 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b2b0b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69b08a6 View commit details
    Browse the repository at this point in the history