]> git.ipfire.org Git - thirdparty/openssl.git/commit
Rename list macros
authorNeil Horman <nhorman@openssl.org>
Mon, 23 Sep 2024 16:11:01 +0000 (12:11 -0400)
committerTomas Mraz <tomas@openssl.org>
Thu, 26 Sep 2024 08:02:30 +0000 (10:02 +0200)
commitc4ec708bd58715fab10b8a6085ac89d79615b250
treecc4b0c8920542c742d1c175724adb774b351aeaf
parent91ec19e92e6cf8fd3b1699dc140460b9ffa14b58
Rename list macros

The quic implementation defined a set of LIST_* macros for list
manipulation, which conflicts with the generally support BSD api found
in the queue.h system header.  While this isn't normally a problem, A
report arrived indicating that MacOSX appears to implicitly include
queue.h from another system header which causes definition conflicts.

As the openssl macros are internal only, it seems the most sensible
thing to do is place them in a well known namespace for our library to
avoid the conflict, so add an OSSL_ prefix to all our macros

Fixes #25516

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/25519)
include/internal/list.h
ssl/quic/quic_engine.c
ssl/quic/quic_port.c
ssl/quic/quic_rcidm.c