Merge pull request #470 from h2o/kazuho/no-alloca
don't use alloca
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 454ea7b..8b538ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,7 +62,7 @@
env:
OPENSSL: ${{ matrix.openssl }}
run: |
- brew install perl libfaketime ${OPENSSL}
+ brew install perl libfaketime pkg-config ${OPENSSL}
perl -v
curl -sSfL https://cpanmin.us | perl - -v --notest Scope::Guard Test::TCP
diff --git a/t/cli.c b/t/cli.c
index 67bfd4d..ef3c1ed 100644
--- a/t/cli.c
+++ b/t/cli.c
@@ -57,16 +57,6 @@
/* sentinels indicating that the endpoint is in benchmark mode */
static const char input_file_is_benchmark[] = "is:benchmark";
-static ptls_hpke_kem_t *find_kem(ptls_key_exchange_algorithm_t *algo)
-{
- for (size_t i = 0; ptls_openssl_hpke_kems[i] != NULL; ++i)
- if (ptls_openssl_hpke_kems[i]->keyex == algo)
- return ptls_openssl_hpke_kems[i];
-
- fprintf(stderr, "HPKE KEM not found for %s\n", algo->name);
- return NULL;
-}
-
static void shift_buffer(ptls_buffer_t *buf, size_t delta)
{
if (delta != 0) {