]> git.ipfire.org Git - thirdparty/openssl.git/commit
Avoid ifdefs in trace categories
authorTomas Mraz <tomas@openssl.org>
Thu, 15 Dec 2022 10:45:48 +0000 (11:45 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 22 Dec 2022 10:33:48 +0000 (11:33 +0100)
commit78bd646b2f6a18cf8515e05a5f3efadff03b3920
tree8a6c7fa4d3441a1d0081f132c6130b49df409d39
parent5a8fcd27bb1be7db7945adb77125015553efdbdd
Avoid ifdefs in trace categories

The trace code assumes all categories are present and
the category numbers are equal to the index in the table.

Fixes #19915

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19917)
crypto/trace.c
include/openssl/trace.h