[Bug 218421] net/qt5-network: securesocketclient example is broken: qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set1_groups

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 18 09:12:56 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218421

--- Comment #8 from Andriy Gapon <avg at FreeBSD.org> ---
It seems that the requirement for SSL_CTX_set1_groups comes from FreeBSD
patches of net/qt5-network.  patch-src_network_ssl_qsslcontext__openssl.cpp has
an explanation for it:

* Instead of using the SSL_CTRL_SET_CURVES macros which only exists in OpenSSL,
* call the SSL_CTX_set1_groups function, which exists in LibreSSL as well as in
* OpenSSL and is what would be called through the macro.

But I am not sure if that explanation is correct.
I cannot find SSL_CTX_set1_groups anywhere in the FreeBSD source code,
I only see SSL_CTX_set1_param.
Also:
# nm -D /usr/local/lib/libssl.so.9| fgrep SSL_CTX_set1
0000000000049470 T SSL_CTX_set1_param
# pkg which /usr/local/lib/libssl.so.9
/usr/local/lib/libssl.so.9 was installed by package openssl-1.0.2n,1

So, that symbol does not appear to be in the port / package OpenSSL either.

It looks like the patches make qt5-network work with libressl but break
openssl?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list