]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix a regression in non-DPP, non-OpenSSL builds
authorJouni Malinen <jouni@codeaurora.org>
Mon, 8 Apr 2019 15:07:28 +0000 (18:07 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 8 Apr 2019 15:13:19 +0000 (18:13 +0300)
commit1326cb76539ec615b12930527771c2df7947c801
tree3198782635aab65a9402c8e00607ad560cc8e6b3
parentdb54db11aec763b6fc74715c36e0f9de0d65e206
DPP: Fix a regression in non-DPP, non-OpenSSL builds

Inclusion of common/dpp.h into hostapd/main.c brought in an undesired
unconditional dependency on OpenSSL header files even for builds where
DPP is not enabled. Fix this by making the dpp.h contents, and in
particular the inclusion of openssl/x509.h, conditional on CONFIG_DPP.

Fixes: 87d8435cf9fd ("DPP: Common configurator/bootstrapping data management")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.h