Optimise windows cert fetching and fix test case.
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Wed, 18 Apr 2012 14:33:24 +0000 (15:33 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 May 2012 14:11:58 +0000 (16:11 +0200)
commitee0514d63c406fd43c6a1d8005c18d602f4b3c35
tree36b24bf96d7c5f6c5639024609cc2f832c83619b
parentd1e8d9a3472a6fbc51f9050c82c1ba9daa0b0017
Optimise windows cert fetching and fix test case.

If we're not going to verify the peer, or we know in advance that
windows won't have a CA root then don't ask it to verify the
certificate chain.
The test case started failing in CI when the windows cert fetcher
was integrated due to timing change. I've relaxed the timing
requirement of the test to avoid it being unstable.

Task-number: QTBUG-24827
Change-Id: I694f193f7d96962667f00aa01b9483b326e3e054
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
src/network/ssl/qsslsocket_openssl.cpp
tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp