summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2023-05-08 14:51:00 +0000
committertb <>2023-05-08 14:51:00 +0000
commit4a8b0df654ed9f750507191ab6a2888c8f2313c6 (patch)
treedb198766581a64569c411de981a865da738988a0 /src/lib/libc/stdlib
parentce3ed7aff060baea73efd80bd8f0a34124c19bad (diff)
downloadopenbsd-4a8b0df654ed9f750507191ab6a2888c8f2313c6.tar.gz
openbsd-4a8b0df654ed9f750507191ab6a2888c8f2313c6.tar.bz2
openbsd-4a8b0df654ed9f750507191ab6a2888c8f2313c6.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')
0 files changed, 0 insertions, 0 deletions