summaryrefslogtreecommitdiff
path: root/src/network/ssl/qocspresponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ssl/qocspresponse.h')
-rw-r--r--src/network/ssl/qocspresponse.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/ssl/qocspresponse.h b/src/network/ssl/qocspresponse.h
index 8f184924c7..2bceadf86e 100644
--- a/src/network/ssl/qocspresponse.h
+++ b/src/network/ssl/qocspresponse.h
@@ -72,6 +72,10 @@ enum class QOcspRevocationReason
RemoveFromCRL
};
+namespace QTlsPrivate {
+class TlsCryptographOpenSSL;
+}
+
class QOcspResponse;
Q_NETWORK_EXPORT size_t qHash(const QOcspResponse &response, size_t seed = 0) noexcept;
@@ -99,7 +103,7 @@ public:
private:
bool isEqual(const QOcspResponse &other) const;
- friend class QSslSocketBackendPrivate;
+ friend class QTlsPrivate::TlsCryptographOpenSSL;
friend bool operator==(const QOcspResponse &lhs, const QOcspResponse &rhs)
{ return lhs.isEqual(rhs); }
friend bool operator!=(const QOcspResponse &lhs, const QOcspResponse &rhs)