]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
test-vectors: Add a soft dependency on DRBG used for KEM tests
authorTobias Brunner <tobias@strongswan.org>
Fri, 21 Feb 2025 10:06:17 +0000 (11:06 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Feb 2025 10:06:17 +0000 (11:06 +0100)
Depending on the loaded plugins, it's not necessary. So it's not a hard
dependency.

src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c

index 6c09271bdf0621e4b13407099852c56c6fb018d3..3c5ef5c2721a2b9bae82fe71319e9aa45c101e15 100644 (file)
@@ -161,6 +161,7 @@ METHOD(plugin_t, get_features, int,
        static plugin_feature_t f[] = {
                PLUGIN_NOOP,
                        PLUGIN_PROVIDE(CUSTOM, "test-vectors"),
+                               PLUGIN_SDEPEND(DRBG, DRBG_CTR_AES256),
        };
        *features = f;
        return countof(f);