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

Allow optional newline in OpenSSL output #9289

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Nov 2, 2022

  1. Commit 3

    Differential Revision: D40942193
    
    fbshipit-source-id: 87117195d1afe3ddf2daddd20947478f8210db6b
    Atry authored and facebook-github-bot committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    915c55f View commit details
    Browse the repository at this point in the history
  2. Extract public key portion via PEM roundtrip (facebook#9282)

    Summary:
    This diff applies the approach similar to php/php-src@26a51e8 in order to fix behavior changes in OpenSSL 3
    
    Pull Request resolved: facebook#9282
    
    Test Plan:
    The existing tests should still pass with OpenSSL 1.1
    ```
    "$HHVM_BIN" hphp/test/run.php hphp/test/slow/ext_openssl/ext_openssl.php
    ```
    
    Differential Revision: D40876120
    
    Pulled By: Atry
    
    fbshipit-source-id: 402e333b76853d70931f6898dd15ae9e88d8ecd8
    Atry authored and facebook-github-bot committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    8564a33 View commit details
    Browse the repository at this point in the history
  3. Commit 2

    Differential Revision: D40942189
    
    fbshipit-source-id: 6383c8922e5b9118582fba72a923d3d5d19380c2
    Atry authored and facebook-github-bot committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    b144fb5 View commit details
    Browse the repository at this point in the history
  4. Allow optional newline in OpenSSL output

    Summary: OpenSSL 3 does not include the trailing newline in its output. This diff adjust `expectf` so that it is now compatible with both OpenSSL 1.1 and 3.0.
    
    Differential Revision: D40942191
    
    fbshipit-source-id: 300a35d617566f4335b04c4d7fab03ec774aecf1
    Atry authored and facebook-github-bot committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    ba8ec3d View commit details
    Browse the repository at this point in the history