openssl: Fix size of plugin feature array
Fixes: 312847e1a3 ("openssl: Add curve25519 and curve448 after ECDH groups")
This commit is contained in:
@@ -709,7 +709,7 @@ METHOD(plugin_t, get_features, int,
|
|||||||
PLUGIN_PROVIDE(KE, CURVE_448),
|
PLUGIN_PROVIDE(KE, CURVE_448),
|
||||||
#endif /* OPENSSL_VERSION_NUMBER && !OPENSSL_NO_ECDH */
|
#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;
|
static int count = 0;
|
||||||
|
|
||||||
if (!count)
|
if (!count)
|
||||||
|
|||||||
Reference in New Issue
Block a user