QSslSocket: Add accessors for SSL version
authorRichard Moore <rich@kde.org>
Mon, 11 Jul 2011 08:47:16 +0000 (10:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 11 Jul 2011 10:43:52 +0000 (12:43 +0200)
commitc82af87b5375eacaabc81b8fe7e75f83d27bc6e5
tree1917d5558536cfecb853fc51d1aa17bc2cb23864
parentd9bec0a1d2d7ac18a9a8ae5eff8dd8204eb6bf70
QSslSocket: Add accessors for SSL version

This commit adds accessors for both the openssl version number and the
version string. The intention here is to aid debugging by making it
possible for applications to know which version of the openssl library
has been found by the runtime linking code.

Since the version of openssl in use will depend on the installation of
the developer, the test cases merely display the version string and
number rather than verifying that any particular version is in use.

Change-Id: Ieec44f0941f99887c85c2858bab0481722d739e5
Merge-request: 12
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1406
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/network/ssl/qsslsocket.cpp
src/network/ssl/qsslsocket.h
src/network/ssl/qsslsocket_openssl.cpp
src/network/ssl/qsslsocket_openssl_symbols.cpp
src/network/ssl/qsslsocket_openssl_symbols_p.h
src/network/ssl/qsslsocket_p.h
tests/auto/qsslsocket/tst_qsslsocket.cpp