]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Treat X509_ALGOR as opaque structure 107/head
authorTheo Buehler <tb@openbsd.org>
Fri, 19 Jan 2024 13:36:47 +0000 (14:36 +0100)
committerTheo Buehler <tb@openbsd.org>
Sat, 20 Jan 2024 18:20:05 +0000 (19:20 +0100)
commit22785583f07a874e5a6dace27ca13b2d56e02e54
tree30e378ae1b7bef1b3b52a43544a776ba0047874e
parent917e7248c89beac0704757510626a3ed2de54208
Treat X509_ALGOR as opaque structure

Unfortunately, X509_ALGOR is still a public struct, and it only has the
slightly awkward accessor X509_ALGOR_get0(), already used elsewhere in
FORT. This converts two codepaths that reach into the struct to using
X509_ALGOR_get0() so that X509_ALGOR can be made opaque in the future.
src/algorithm.c
src/object/certificate.c