Fix a QSslSocket test expectation on ubuntu 11.10
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Tue, 8 May 2012 17:11:18 +0000 (18:11 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 10 May 2012 00:39:30 +0000 (02:39 +0200)
commit7578a9f69df1febf1ce26a3a66e3ada40a1205ff
tree2aa28ff4e89ee654e32bc8a1448d60dc53db2102
parentc47c8ba59e87facaaad53e69f7830719217110aa
Fix a QSslSocket test expectation on ubuntu 11.10

Because SSL2 is disabled in ubuntu's openssl binaries, the SSL
connection is expected to succeed rather than fail when the server
side is using SSL3/TLS1.0.
Used the OPENSSL_NO_SSL2 macro to decide this.

Change-Id: I2c35aa5aa0c9432ae78000c81f70086bdc31843d
Reviewed-by: Richard J. Moore <rich@kde.org>
tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp