]> git.ipfire.org Git - thirdparty/hostap.git/commit
HS 2.0: Restore ifdef for DEFINE_STACK_OF in est.c
authorIlan Peer <ilan.peer@intel.com>
Mon, 5 Dec 2022 10:42:38 +0000 (12:42 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 16 Dec 2022 20:42:16 +0000 (22:42 +0200)
commit909864ab1eea75d9058efef166ae87a26ee07973
tree80386b0cf17b15260bf7498eebdf4b416157238c
parent24b4c3abefbe47c30855d4b318962be0e1a1959f
HS 2.0: Restore ifdef for DEFINE_STACK_OF in est.c

DEFINE_STACK_OF() was only introduced in OpenSSL 1.1.0 and newer, but
the ifdef directive that wrapped it was wrongly removed when cleaning
some BoringSSL definitions. Use ifdef confistently for defining and
using AttrOrOID.

Fixes: faf9c04cb51c ("Remove a host of unnecessary OPENSSL_IS_BORINGSSL ifdefs")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
hs20/client/est.c