diff options
author | tb <> | 2023-05-08 14:51:00 +0000 |
---|---|---|
committer | tb <> | 2023-05-08 14:51:00 +0000 |
commit | 3d8c174bc6a25e6d0edc3db05de93421dbf040a6 (patch) | |
tree | db198766581a64569c411de981a865da738988a0 /src/lib/libc/stdlib/malloc.c | |
parent | 9090de50493a67b1c07ff6681b3a92c3e9a2e835 (diff) | |
download | openbsd-3d8c174bc6a25e6d0edc3db05de93421dbf040a6.tar.gz openbsd-3d8c174bc6a25e6d0edc3db05de93421dbf040a6.tar.bz2 openbsd-3d8c174bc6a25e6d0edc3db05de93421dbf040a6.zip |
Rename the other_ctx in X509_STORE_CTX into trusted
The other_ctx is a strong contender for the worst name of a struct member
in OpenSSL. It's a void * member whose only purpose ever was to be set to a
STACK_OF(X509) * via X509_STORE_CTX_trusted_stack() (yes, this is obviously
a setter, why do you ask?) and then to be used by the get_issuer() callback
(which of course isn't there to find any old issuer, but only to look for
issuers among the 'trusted' certs).
Anyway, we may want to rename untrusted into intermediates and trusted into
roots later on, but for now let's match the lovely public API. While there
rename get_issuer_sk() into get_trusted_issuer() which is a more accurate
and slightly less silly name.
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions