Skip to content

tests: fix excluding AES-GCM tests - #1410

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:tests-fix-gcm-exclusion
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:tests-fix-gcm-exclusion

Conversation

@vszakats

@vszakats vszakats commented Jun 24, 2024 •

Copy link
Copy Markdown
Member

Replace hard-coded crypto backends and rely on LIBSSH2_GCM macro
to decide whether to run AES-GCM tests.

Without this, build attempted to run AES-GCM tests (and failed)
for crypto backends that have conditional support for this feature, e.g.
wolfSSL without the necessary features built-in
(as in before Homewbrew wolfssl 5.7.0_1, or OpenSSL v1.1.0 and older).

This patch is part of a series of fixes to make wolfSSL AES-GCM support
work together with libssh2.

Cherry-picked from #1407
Closes #1410

Replace hard-coded crypto backends and rely on `LIBSSH2_GCM` macro
to decide whether to run AES-GCM tests.

Without this tests attempted to run AES-GCM (and failed) for crypto
backends that have conditional support for this feature, e.g. wolfSSL.

Closes #xxxx
@vszakats vszakats added the tests label Jun 24, 2024
@vszakats vszakats closed this in fbd9d19 Jun 24, 2024
@vszakats
vszakats deleted the tests-fix-gcm-exclusion branch June 24, 2024 12:40
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
Replace hard-coded crypto backends and rely on `LIBSSH2_GCM` macro
to decide whether to run AES-GCM tests.

Without this, build attempted to run AES-GCM tests (and failed)
for crypto backends that have conditional support for this feature, e.g.
wolfSSL without the necessary features built-in
(as in before Homewbrew wolfssl 5.7.0_1, or OpenSSL v1.1.0 and older).

This patch is part of a series of fixes to make wolfSSL AES-GCM support
work together with libssh2.

Cherry-picked from libssh2#1407
Closes libssh2#1410
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