diff options
| author | tb <> | 2026-03-28 11:49:31 +0000 |
|---|---|---|
| committer | tb <> | 2026-03-28 11:49:31 +0000 |
| commit | f3cceccc18dfd4f96044df85f30c117f39b9cc9f (patch) | |
| tree | 27ec53e2e4a96375c9a16b7ded8aa7906234a0d6 /src/lib/libcrypto/md5 | |
| parent | cb80f3489708580ad1f1d4b027d1c0b23fa3f15a (diff) | |
| download | openbsd-f3cceccc18dfd4f96044df85f30c117f39b9cc9f.tar.gz openbsd-f3cceccc18dfd4f96044df85f30c117f39b9cc9f.tar.bz2 openbsd-f3cceccc18dfd4f96044df85f30c117f39b9cc9f.zip | |
libtls: const workarounds for X509_NAME in OCSP for OpenSSL 4
The API to look up a cert by subject or issuer name clearly only needs to
do name comparisons in a collection of certs so should by all means take a
const X509_NAME * as an argument. However, this isn't all that easy to do
and hence it's only in OpenSSL 4 that this obvious step was reached.
This means that there is no way around casting for older code. One could
cast the return value of X509_get_issuer_name() or the argument passed to
the two lookups by subject. jsing slightly prefers the second approach,
so this is what we do here.
ok djm jsing kenjiro
Diffstat (limited to 'src/lib/libcrypto/md5')
0 files changed, 0 insertions, 0 deletions
