Skip to content

ci/GHA: add Linux job with latest wolfSSL built from source - #1408

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:ci-wolfssl-latest
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:ci-wolfssl-latest

Conversation

@vszakats

@vszakats vszakats commented Jun 21, 2024 •

Copy link
Copy Markdown
Member

After this patch it's possible to run tests with wolfSSL 5.7.0.

wolfSSL 5.7.0 fixes this bug that affects open issues #1020 and #1299:
wolfSSL/wolfssl#7143

-DWOLFSSL_OPENSSLALL=ON is necessary for wolfSSL_FIPS_mode()

Enabling tests results in these failures:

The following tests FAILED:
 31 - [email protected] (Failed)
 36 - [email protected] (Failed)

Ref: https://github.com/libssh2/libssh2/actions/runs/9620405910/job/26538547768#step:17:921

Closes #1408

wolfSSL 5.7.0 fixes this bug that affects libssh2#1020 and libssh2#1299:
wolfSSL/wolfssl#7143

`-DWOLFSSL_OPENSSLALL=ON` necessary for `wolfSSL_FIPS_mode()`

Closes #xxxx
@vszakats vszakats added bug build and removed bug labels Jun 21, 2024
@vszakats vszakats closed this in d4cea53 Jun 21, 2024
@vszakats
vszakats deleted the ci-wolfssl-latest branch June 21, 2024 22:56
vszakats added a commit to vszakats/libssh2 that referenced this pull request Jun 21, 2024
Turns out these tests:

31 - [email protected] (Failed)
36 - [email protected] (Failed)

were failing because AES-GCM wasn't enabled in libssh2. This in turn
happened because the `WOLFSSL_AESGCM_STREAM` macro wasn't enabled while
building wolfSSL. Which happened because this macro isn't enabled by
any CMake-level wolfSSL option. Passing it as `CPPFLAGS` fixes it.

This allows enabling tests with wolfSSL 5.7.0.

Follow-up to d4cea53 libssh2#1408
Closes libssh2#1409
vszakats added a commit to vszakats/libssh2 that referenced this pull request Jun 21, 2024
Turns out these tests:

31 - [email protected] (Failed)
36 - [email protected] (Failed)

were failing because AES-GCM wasn't enabled in libssh2. This in turn
happened because the `WOLFSSL_AESGCM_STREAM` macro wasn't enabled while
building wolfSSL. Which happened because this macro isn't enabled by
any CMake-level wolfSSL option. Passing it as `CPPFLAGS` fixes it.

This allows enabling tests with wolfSSL 5.7.0.

Follow-up to d4cea53 libssh2#1408
Closes libssh2#1409
vszakats added a commit that referenced this pull request Jun 22, 2024
Turns out these tests:
```
31 - [email protected] (Failed)
36 - [email protected] (Failed)
```
were failing because AES-GCM wasn't enabled in libssh2. This in turn
happened because the `WOLFSSL_AESGCM_STREAM` macro wasn't enabled while
building wolfSSL. Which happened because this macro isn't enabled by
any CMake-level wolfSSL option. Passing it as `CPPFLAGS` fixes it.

This allows enabling tests with wolfSSL 5.7.0.

Follow-up to d4cea53 #1408
Closes #1409
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
After this patch it's possible to run tests with wolfSSL 5.7.0.

wolfSSL 5.7.0 fixes this bug that affects open issues libssh2#1020 and libssh2#1299:
wolfSSL/wolfssl#7143

`-DWOLFSSL_OPENSSLALL=ON` is necessary for `wolfSSL_FIPS_mode()`

Closes libssh2#1408
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
Turns out these tests:
```
31 - [email protected] (Failed)
36 - [email protected] (Failed)
```
were failing because AES-GCM wasn't enabled in libssh2. This in turn
happened because the `WOLFSSL_AESGCM_STREAM` macro wasn't enabled while
building wolfSSL. Which happened because this macro isn't enabled by
any CMake-level wolfSSL option. Passing it as `CPPFLAGS` fixes it.

This allows enabling tests with wolfSSL 5.7.0.

Follow-up to d4cea53 libssh2#1408
Closes libssh2#1409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant