Ensure we initialize things before checking the openssl version.

Task-number: QTBUG-37783
Change-Id: Ie276e597062d8bfc74ef57251ed21a94020e030f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Richard J. Moore 2014-04-06 15:56:08 +01:00 committed by The Qt Project
parent 3a100edc4f
commit f41418aeb2

View File

@ -569,6 +569,9 @@ void QSslSocketPrivate::ensureInitialized()
long QSslSocketPrivate::sslLibraryVersionNumber()
{
if (!supportsSsl())
return 0;
return q_SSLeay();
}