]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Do not require dpp_configurator_params to start with a space
authorJouni Malinen <jouni@codeaurora.org>
Tue, 11 Feb 2020 04:41:33 +0000 (06:41 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Tue, 11 Feb 2020 04:43:02 +0000 (06:43 +0200)
commitde08fae66ab68e3eba96fdee33da971d08605f45
treee659f4ff8202df64f04f8bbbba2feb87dcae2535
parentc7cc80fbc8f917f239fbc6280b1e4dbe96c8372d
DPP: Do not require dpp_configurator_params to start with a space

This ugly hack for being able to search for optional arguments with
space before them was quite inconvenient and unexpected. Clean this up
by handling this mess internally with a memory allocation and string
duplication if needed so that the users of wpa_supplicant control
interface do not need to care about such details.

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