SSL internals: rename methods in the SSL backend to reflect public ones
Change-Id: I234c740b1acbfea670d6170332626f5e3ba49328 Reviewed-on: http://codereview.qt.nokia.com/1437 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
This commit is contained in:
parent
968596588b
commit
c299b4deac
@ -1606,7 +1606,7 @@ bool QSslSocket::supportsSsl()
|
||||
*/
|
||||
long QSslSocket::sslLibraryVersionNumber()
|
||||
{
|
||||
return QSslSocketPrivate::opensslVersionNumber();
|
||||
return QSslSocketPrivate::sslLibraryVersionNumber();
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -1616,7 +1616,7 @@ long QSslSocket::sslLibraryVersionNumber()
|
||||
*/
|
||||
QString QSslSocket::sslLibraryVersionString()
|
||||
{
|
||||
return QSslSocketPrivate::opensslVersionString();
|
||||
return QSslSocketPrivate::sslLibraryVersionString();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -602,12 +602,12 @@ void QSslSocketPrivate::ensureInitialized()
|
||||
ensureCiphersAndCertsLoaded();
|
||||
}
|
||||
|
||||
long QSslSocketPrivate::opensslVersionNumber()
|
||||
long QSslSocketPrivate::sslLibraryVersionNumber()
|
||||
{
|
||||
return q_SSLeay();
|
||||
}
|
||||
|
||||
QString QSslSocketPrivate::opensslVersionString()
|
||||
QString QSslSocketPrivate::sslLibraryVersionString()
|
||||
{
|
||||
if (!supportsSsl())
|
||||
return QString();
|
||||
|
@ -116,8 +116,8 @@ public:
|
||||
bool allowRootCertOnDemandLoading;
|
||||
|
||||
static bool supportsSsl();
|
||||
static long opensslVersionNumber();
|
||||
static QString opensslVersionString();
|
||||
static long sslLibraryVersionNumber();
|
||||
static QString sslLibraryVersionString();
|
||||
static void ensureInitialized();
|
||||
static void deinitialize();
|
||||
static QList<QSslCipher> defaultCiphers();
|
||||
|
Loading…
Reference in New Issue
Block a user