[omniORB] Building omniorb against openssl 3.6.5
Duncan Grisby
duncan at grisby.org
Fri Nov 6 17:04:03 UTC 2026
On Thu, 2026-11-05 at 13:45 +0100, Michael Teske via omniORB-list
wrote:
[...]
> I just tried to compile the latest svn including this patch but this
> fails on Redhat Enterprise Linux 8 - which still has (patched)
> openssl 1.1.1k.
>
> There, X509_NAME_get_index_by_NID(X509_NAME *name, ...) takes a non-
> const pointer, so:
>
> /Source/omniORB/omniORB/src/lib/omniORB/orbcore/ssl/sslConnection.cc:
> 552:42: error: invalid conversion from ‘const X509_NAME*’ {aka ‘const
> X509_name_st*’} to ‘X509_NAME*’ {aka
> ‘X509_name_st*’} [-fpermissive]
I don't have convenient access to such an old OpenSSL version. Can you
come up with a patch to allow it to compile? I assume that just
casting away the const in the X509_NAME_get_index_by_NID() call will
make it happy. I am guessing that you might need to do the same to the
call to X509_NAME_get_entry() a few lines later.
Thanks,
Duncan.
--
Duncan Grisby <duncan at grisby.org>
More information about the omniORB-list
mailing list