diff options
| author | tb <> | 2026-03-28 11:33:33 +0000 |
|---|---|---|
| committer | tb <> | 2026-03-28 11:33:33 +0000 |
| commit | cb80f3489708580ad1f1d4b027d1c0b23fa3f15a (patch) | |
| tree | 22e3e6cbb19100cb12a8911a5f5ef400b6aa6b97 /src/lib/libcrypto/objects/obj_dat.c | |
| parent | b1196d61eed2da0efb664d4b7f6347181cd227d6 (diff) | |
| download | openbsd-cb80f3489708580ad1f1d4b027d1c0b23fa3f15a.tar.gz openbsd-cb80f3489708580ad1f1d4b027d1c0b23fa3f15a.tar.bz2 openbsd-cb80f3489708580ad1f1d4b027d1c0b23fa3f15a.zip | |
libtls: simple cases of const for X509_NAME *
After the const sprinkling in OpenSSL 1.1, X509_get_{issuer,subject}_name()
still returned a non-const pointer for unclear reasons. In OpenSSL 4,
the return value also grew a const qualifier, so move the two "name" in
tls_conninfo.c and the "subject_name" in tls_verify.c to const. They are
only used for further processing by already const correct functions (at
least as far as X509_NAME is concerned).
ok djm jsing kenjiro
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions
