mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
openssl: Fix size of plugin feature array
Fixes: 312847e1a322 ("openssl: Add curve25519 and curve448 after ECDH groups")
This commit is contained in:
parent
27d41a2442
commit
48ef9bfbb6
@ -709,7 +709,7 @@ METHOD(plugin_t, get_features, int,
|
||||
PLUGIN_PROVIDE(KE, CURVE_448),
|
||||
#endif /* OPENSSL_VERSION_NUMBER && !OPENSSL_NO_ECDH */
|
||||
};
|
||||
static plugin_feature_t f[countof(f_base) + countof(f_ecdh)] = {};
|
||||
static plugin_feature_t f[countof(f_base) + countof(f_ecdh) + countof(f_xdh)] = {};
|
||||
static int count = 0;
|
||||
|
||||
if (!count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user