SSL: fix build when compiled with -openssl-linked
authorPeter Hartmann <peter.hartmann@nokia.com>
Thu, 24 Nov 2011 12:15:18 +0000 (13:15 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 Nov 2011 13:37:02 +0000 (14:37 +0100)
commit09404c072fec2e195d8114dc4d95ce3683c341cf
tree08046cb04b61479481dbcc09fbc842a4ba836814
parentf4b6628083bf98ffa9169d8a8b890d84b6046867
SSL: fix build when compiled with -openssl-linked

... and only resolve the functions when the methods are available.
SSL 2 functionality is not always available in OpenSSL anymore.

Change-Id: Ia3178685b26c67ac55447476789e06710b596181
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/ssl/qsslsocket_openssl.cpp
src/network/ssl/qsslsocket_openssl_symbols.cpp