From: Jouni Malinen Date: Tue, 13 Oct 2020 16:48:29 +0000 (+0300) Subject: DPP: Make dpp_keygen_configurator() a static function X-Git-Tag: hostap_2_10~834 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d14758450f8b90823ddd243bc315754fc3baa5e;p=thirdparty%2Fhostap.git DPP: Make dpp_keygen_configurator() a static function This was not used anywhere outside dpp.c. Signed-off-by: Jouni Malinen --- 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