summaryrefslogtreecommitdiff
path: root/src/lib/tests/kex_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-07-02 00:57:58 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-07-08 11:02:12 +0200
commit2f9fdfa5ae2749f10d9ebc805e388ab9962d9faa (patch)
tree5af214bab5b25068455d30ee61516e3c04c2effd /src/lib/tests/kex_test.c
parentc59a6d54d6361298018edb021d2da818a6b5f09a (diff)
downloadouroboros-2f9fdfa5ae2749f10d9ebc805e388ab9962d9faa.tar.gz
ouroboros-2f9fdfa5ae2749f10d9ebc805e388ab9962d9faa.zip
build: Fix OpenSSL version check for PQC
ML-KEM, ML-DSA and SLH-DSA all landed in OpenSSL 3.5.0, not 3.4.0. ML-KEM+ML-DSA and SLH-DSA can be disabled by DISABLE_ML / DISABLE_SLH. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/kex_test.c')
-rw-r--r--src/lib/tests/kex_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tests/kex_test.c b/src/lib/tests/kex_test.c
index 0a00ccab..61383be0 100644
--- a/src/lib/tests/kex_test.c
+++ b/src/lib/tests/kex_test.c
@@ -305,7 +305,7 @@ static int test_kex_validate_algo(void)
goto fail;
}
-#ifdef HAVE_OPENSSL_ML_KEM
+#ifdef HAVE_ML
if (kex_validate_algo("ML-KEM-768") != 0) {
printf("ML-KEM-768 should be valid.\n");
goto fail;