openssl: Return correct number of plugin features if ECDH groups are omitted

Fixes: 46a6b06282 ("openssl: Only announce ECDH groups actually supported by OpenSSL")
This commit is contained in:
Tobias Brunner
2022-02-04 16:30:51 +01:00
parent 956b25a4cc
commit 34a6cb858d
@@ -881,7 +881,7 @@ METHOD(plugin_t, get_features, int,
#endif
}
*features = f;
return countof(f);
return count;
}
METHOD(plugin_t, destroy, void,