From 1d14758450f8b90823ddd243bc315754fc3baa5e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 13 Oct 2020 19:48:29 +0300 Subject: [PATCH] DPP: Make dpp_keygen_configurator() a static function This was not used anywhere outside dpp.c. Signed-off-by: Jouni Malinen --- src/common/dpp.c | 2 +- src/common/dpp.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/dpp.c b/src/common/dpp.c index 552d7626c..d83c1a2d0 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -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, size_t privkey_len) { diff --git a/src/common/dpp.h b/src/common/dpp.h index a39e87ed5..7a0443471 100644 --- a/src/common/dpp.h +++ b/src/common/dpp.h @@ -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, size_t buflen); 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, const char *curve, int ap); enum dpp_status_error