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:
parent
3a100edc4f
commit
f41418aeb2
@ -569,6 +569,9 @@ void QSslSocketPrivate::ensureInitialized()
|
||||
|
||||
long QSslSocketPrivate::sslLibraryVersionNumber()
|
||||
{
|
||||
if (!supportsSsl())
|
||||
return 0;
|
||||
|
||||
return q_SSLeay();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user