diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index 20e520a3d5..294e2508d8 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -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(); } /*! diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp index b87570b7bf..c7e938a705 100644 --- a/src/network/ssl/qsslsocket_openssl.cpp +++ b/src/network/ssl/qsslsocket_openssl.cpp @@ -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(); diff --git a/src/network/ssl/qsslsocket_p.h b/src/network/ssl/qsslsocket_p.h index c8ab820639..b1dc656e88 100644 --- a/src/network/ssl/qsslsocket_p.h +++ b/src/network/ssl/qsslsocket_p.h @@ -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 defaultCiphers();