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: faf9c04cb5
("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>
This commit is contained in:
parent
24b4c3abef
commit
909864ab1e
1 changed files with 2 additions and 0 deletions
|
@ -218,7 +218,9 @@ typedef struct {
|
||||||
} d;
|
} d;
|
||||||
} AttrOrOID;
|
} AttrOrOID;
|
||||||
|
|
||||||
|
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||||
DEFINE_STACK_OF(AttrOrOID)
|
DEFINE_STACK_OF(AttrOrOID)
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
|
|
Loading…
Reference in a new issue