-
Notifications
You must be signed in to change notification settings - Fork 1k
Update hitch support. #9897
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
base: master
Are you sure you want to change the base?
Update hitch support. #9897
Changes from all commits
126f29d
17a3f6f
9dc0594
bc8c93e
c7a84a4
2015159
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,9 +44,9 @@ jobs: | |
| matrix: | ||
| # List of releases to test | ||
| include: | ||
| - ref: 1.7.3 | ||
| - ref: 1.8.0 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 [Medium] Two additional hitch tests ignored without explanation The ignore list grows from 3 to 5 tests: Fix: Add a short comment per newly ignored test stating why it is skipped (known incompatibility vs. tracked gap), or reference the osp issue that documents them, so the list does not silently grow over releases. |
||
| ignore-tests: >- | ||
| test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh | ||
| test12-cfg.sh test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh test41-client-cert-pb.sh | ||
| name: ${{ matrix.ref }} | ||
| if: github.repository_owner == 'wolfssl' | ||
| runs-on: ubuntu-latest | ||
|
|
@@ -72,13 +72,13 @@ jobs: | |
| run: | | ||
| export DEBIAN_FRONTEND=noninteractive | ||
| sudo apt-get update | ||
| sudo apt-get install -y libev-dev libssl-dev automake python3-docutils flex bison pkg-config make | ||
| sudo apt-get install -y libev-dev automake python3-docutils flex bison pkg-config make | ||
|
|
||
| - name: Checkout hitch | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: varnish/hitch | ||
| ref: 1.7.3 | ||
| ref: ${{ matrix.ref }} | ||
| path: hitch | ||
|
|
||
| # Do this before configuring so that it only detects the updated list of | ||
|
|
@@ -92,9 +92,10 @@ jobs: | |
| - name: Configure and build hitch | ||
| run: | | ||
| cd $GITHUB_WORKSPACE/hitch/ | ||
| patch -p1 < $GITHUB_WORKSPACE/osp/hitch/hitch_1.7.3.patch | ||
| autoreconf -ivf | ||
| SSL_CFLAGS="-I$GITHUB_WORKSPACE/build-dir/include/ -I$GITHUB_WORKSPACE/build-dir/include/wolfssl" SSL_LIBS="-L$GITHUB_WORKSPACE/build-dir/lib -lwolfssl" ./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir/ --enable-silent-rules --enable-documentation --enable-warnings --with-lex --with-yacc --prefix=$GITHUB_WORKSPACE/build-dir | ||
| patch -p1 < $GITHUB_WORKSPACE/osp/hitch/hitch_${{ matrix.ref }}.patch | ||
| export SSL_CFLAGS="-I$GITHUB_WORKSPACE/build-dir/include/ -I$GITHUB_WORKSPACE/build-dir/include/wolfssl" | ||
| export SSL_LIBS="-L$GITHUB_WORKSPACE/build-dir/lib -lwolfssl" | ||
| ./bootstrap --with-wolfssl=$GITHUB_WORKSPACE/build-dir/ --prefix=$GITHUB_WORKSPACE/build-dir | ||
| make -j$(nproc) | ||
|
|
||
| - name: Confirm hitch built with wolfSSL | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9117,6 +9117,13 @@ then | |
| ENABLED_OCSP="yes" | ||
| fi | ||
|
|
||
| # Requires CSR for wolfSSL_set_tlsext_status_ocsp_resp | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 [Low] Ambiguous 'CSR' abbreviation in configure.ac comment The comment Fix: Spell out 'certificate status request (OCSP stapling)' in the comment to avoid confusion with Certificate Signing Request. |
||
| if test "x$ENABLED_CERTIFICATE_STATUS_REQUEST" = "xno" | ||
| then | ||
| ENABLED_CERTIFICATE_STATUS_REQUEST="yes" | ||
| AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_CERTIFICATE_STATUS_REQUEST" | ||
| fi | ||
|
|
||
| # Requires ALPN | ||
| if test "x$ENABLED_ALPN" = "xno" | ||
| then | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2186,6 +2186,10 @@ WOLFSSL_API word32 CheckRunTimeSettings(void); | |
|
|
||
| #define WC_CPP_CAT4_(a, b, c, d) a ## b ## c ## d | ||
| #define WC_CPP_CAT4(a, b, c, d) WC_CPP_CAT4_(a, b, c, d) | ||
| #if !defined(BUILDING_WOLFSSL) && !defined(WOLFSSL_VIS_FOR_TESTS) && \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 [Medium] wc_static_assert silently becomes a no-op for all external applications, not just hitch The new gate defines Fix: Add an explanatory comment above the new block (the change is non-obvious and the rationale currently lives only in a commit message), and document
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 [Low] testsuite translation unit silently loses the test.h static assert
Fix: Optional: define WOLFSSL_VIS_FOR_TESTS in testsuite.c for consistency with the other in-tree test drivers. |
||
| !defined(WC_USE_STATIC_ASSERT) && !defined(WC_NO_STATIC_ASSERT) | ||
| #define WC_NO_STATIC_ASSERT | ||
| #endif | ||
| #if defined(WC_NO_STATIC_ASSERT) | ||
| #define wc_static_assert(expr) struct wc_static_assert_dummy_struct | ||
| #define wc_static_assert2(expr, msg) wc_static_assert(expr) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.