DPP: Make dpp_keygen_configurator() a static function

This was not used anywhere outside dpp.c.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-10-13 19:48:29 +03:00 committed by Jouni Malinen
parent a964cb65a1
commit 1d14758450
2 changed files with 1 additions and 4 deletions

View File

@ -3413,7 +3413,7 @@ static int dpp_configurator_gen_kid(struct dpp_configurator *conf)
} }
struct dpp_configurator * static struct dpp_configurator *
dpp_keygen_configurator(const char *curve, const u8 *privkey, dpp_keygen_configurator(const char *curve, const u8 *privkey,
size_t privkey_len) size_t privkey_len)
{ {

View File

@ -583,9 +583,6 @@ const char * dpp_akm_selector_str(enum dpp_akm akm);
int dpp_configurator_get_key(const struct dpp_configurator *conf, char *buf, int dpp_configurator_get_key(const struct dpp_configurator *conf, char *buf,
size_t buflen); size_t buflen);
void dpp_configurator_free(struct dpp_configurator *conf); void dpp_configurator_free(struct dpp_configurator *conf);
struct dpp_configurator *
dpp_keygen_configurator(const char *curve, const u8 *privkey,
size_t privkey_len);
int dpp_configurator_own_config(struct dpp_authentication *auth, int dpp_configurator_own_config(struct dpp_authentication *auth,
const char *curve, int ap); const char *curve, int ap);
enum dpp_status_error enum dpp_status_error