Skip to content

Commit 05dc033

Browse files
committed
Set S2N_LIBCRYPTO_SUPPORTS_PROVIDERS to FALSE
1 parent ac8ff9a commit 05dc033

File tree

1 file changed

+7
-0
lines changed
  • build-support/src/main/kotlin/aws/sdk/kotlin/gradle/crt

1 file changed

+7
-0
lines changed

build-support/src/main/kotlin/aws/sdk/kotlin/gradle/crt/CMakeTasks.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ private fun Project.registerCmakeConfigureTask(
121121
}
122122
}
123123

124+
// FIXME Recent upgrade to GitHub Actions Ubuntu image / s2n-tls causes compilation errors like:
125+
// In function ‘s2n_hash_algorithms_init’
126+
// error: implicit declaration of function ‘EVP_MD_free’;
127+
// See https://github.com/aws/s2n-tls/blob/529b01a8363962a4e3809c9d9ee34fdd098fb0ba/tests/features/S2N_LIBCRYPTO_SUPPORTS_PROVIDERS.c#L29
128+
// and https://github.com/aws/s2n-tls/blob/529b01a8363962a4e3809c9d9ee34fdd098fb0ba/crypto/s2n_hash.c#L85
129+
args.add("-DS2N_LIBCRYPTO_SUPPORTS_PROVIDERS=FALSE")
130+
124131
// executed from root build dir which is where CMakeLists.txt is
125132
// We _could_ use the undocumented -H flag but that will be harder to make work inside docker
126133
args.add(".")

0 commit comments

Comments
 (0)