]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Fix OpenSSL 4 compatibility issue when calling X509_get_subject_name()
authorArаm Sаrgsyаn <aram@isc.org>
Mon, 16 Mar 2026 10:01:32 +0000 (10:01 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 16 Mar 2026 10:01:32 +0000 (10:01 +0000)
commit247a2df572001e4aef2b947fe8f6507d9f816247
tree3a73e4b5c15dda08b292190097ddda2c27d54c8e
parent6a94864c623619c024e5458f47cae227442bf44e
parent336c523b7980895c8f43cbb758dd21d2176650f8
fix: dev: Fix OpenSSL 4 compatibility issue when calling X509_get_subject_name()

Starting from OpenSSL 4 the the X509_get_subject_name() function
returns a 'const' pointer to a name instead of a regular pointer.
Duplicate the name before operating on it, then free it.

Closes #5807

Merge branch '5807-openssl-4-X509_get_subject_name-compat-fix' into 'main'

See merge request isc-projects/bind9!11676