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>bb10
parent
8932eee9a6
commit
0206283a4b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue