summaryrefslogtreecommitdiffstats
path: root/src/plugins/tls
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2022-09-02 14:52:37 +0200
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2022-09-05 18:29:12 +0200
commit0206283a4b4eb9bd2108eb8fc8937c29cbb5d9c5 (patch)
tree66439f3e729c92563558f25aadb7b55b543c9a88 /src/plugins/tls
parent8932eee9a652d8a325410b147955c9939278f9ed (diff)
QTlsBackendOpenSSL: Make ensureLibraryLoaded() private
This method is not used outside of the class right now. This is also an initialization method that may not be called recursively. Making it private hopefully makes it harder to make this mistake in the future. Task-number: QTBUG-103559 Change-Id: I8e1113e442e815320108b79bbd7b41bd28a66840 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/tls')
-rw-r--r--src/plugins/tls/openssl/qtlsbackend_openssl_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/tls/openssl/qtlsbackend_openssl_p.h b/src/plugins/tls/openssl/qtlsbackend_openssl_p.h
index 748ef13ac4..6ff1052957 100644
--- a/src/plugins/tls/openssl/qtlsbackend_openssl_p.h
+++ b/src/plugins/tls/openssl/qtlsbackend_openssl_p.h
@@ -41,7 +41,6 @@ public:
static void logAndClearErrorQueue();
static void clearErrorQueue();
- static bool ensureLibraryLoaded();
// Index used in SSL_get_ex_data to get the matching TlsCryptographerOpenSSL:
static bool s_loadedCiphersAndCerts;
static int s_indexForSSLExtraData;
@@ -49,7 +48,7 @@ public:
static QString msgErrorsDuringHandshake();
static QSslCipher qt_OpenSSL_cipher_to_QSslCipher(const SSL_CIPHER *cipher);
private:
-
+ static bool ensureLibraryLoaded();
QString backendName() const override;
bool isValid() const override;
long tlsLibraryVersionNumber() const override;