This is my suggested backport of the upstream patch.
since, as you might know, the file locations changed a bit, lso the file defining the new datatype moved from qsslsocket_openssl_symbols_p.h to qsslsocket_openssl_p.h since it is required there (setupOpenSslOptions is defined there, but qsslsocket_openssl.cpp, which includes qsslsocket_openssl_p.h includes qsslsocket_openssl_symbols_p.h too late; this is done differently in qt6 where setupOpenSslOptions is in qsslcontext_openssl.cpp)
This is my suggested backport of the upstream patch.
since, as you might know, the file locations changed a bit, lso the file defining the new datatype moved from qsslsocket_ openssl_ symbols_ p.h to qsslsocket_ openssl_ p.h since it is required there (setupOpenSslOp tions is defined there, but qsslsocket_ openssl. cpp, which includes qsslsocket_ openssl_ p.h includes qsslsocket_ openssl_ symbols_ p.h too late; this is done differently in qt6 where setupOpenSslOptions is in qsslcontext_ openssl. cpp)