From: Tobias Brunner Date: Fri, 21 Feb 2025 10:06:17 +0000 (+0100) Subject: test-vectors: Add a soft dependency on DRBG used for KEM tests X-Git-Tag: android-2.5.4~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31c44a758fcedefa160fb090e85c296447e48e84;p=thirdparty%2Fstrongswan.git test-vectors: Add a soft dependency on DRBG used for KEM tests Depending on the loaded plugins, it's not necessary. So it's not a hard dependency. --- diff --git a/src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c b/src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c index 6c09271bdf..3c5ef5c272 100644 --- a/src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c +++ b/src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c @@ -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);