diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-12-17 11:00:45 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-12-17 12:19:55 +0100 |
commit | 38ff2bdb913edafa26ebd9ba8ec3c94dc654d47c (patch) | |
tree | 7fa69c7711a560871345220826157a688b2d5891 /common/rfb/SSecurityTLS.h | |
parent | 2b803c94ed0cd126af13b752ddc038e320565dbd (diff) | |
download | tigervnc-38ff2bdb913edafa26ebd9ba8ec3c94dc654d47c.tar.gz tigervnc-38ff2bdb913edafa26ebd9ba8ec3c94dc654d47c.zip |
Reduce header includes in TLS/RSA-AES headers
We can make do with forward declarations for these classes.
Diffstat (limited to 'common/rfb/SSecurityTLS.h')
-rw-r--r-- | common/rfb/SSecurityTLS.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/rfb/SSecurityTLS.h b/common/rfb/SSecurityTLS.h index c29ee474..8f6539d9 100644 --- a/common/rfb/SSecurityTLS.h +++ b/common/rfb/SSecurityTLS.h @@ -27,9 +27,7 @@ #endif #include <rfb/SSecurity.h> -#include <rfb/SSecurityVeNCrypt.h> -#include <rdr/InStream.h> -#include <rdr/OutStream.h> + #include <gnutls/gnutls.h> /* In GnuTLS 3.6.0 DH parameter generation was deprecated. RFC7919 is used instead. @@ -39,6 +37,11 @@ #define SSECURITYTLS__USE_DEPRECATED_DH #endif +namespace rdr { + class InStream; + class OutStream; +} + namespace rfb { class SSecurityTLS : public SSecurity { |