]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Make dpp_keygen_configurator() a static function
authorJouni Malinen <jouni@codeaurora.org>
Tue, 13 Oct 2020 16:48:29 +0000 (19:48 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 13 Oct 2020 16:48:29 +0000 (19:48 +0300)
This was not used anywhere outside dpp.c.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c
src/common/dpp.h

index 552d7626c655eb28012fa98be8374346771bf624..d83c1a2d0222c48fe9b0bbf881e74ac5cbf7ce44 100644 (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,
                        size_t privkey_len)
 {
index a39e87ed5f6560dd9cedebe707f2ee3d1087b6c9..7a0443471653e4d5a391b799b4db6a36cfe50998 100644 (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,
                             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