]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
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)
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


Trivial merge