aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityTLS.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/CSecurityTLS.h')
-rw-r--r--common/rfb/CSecurityTLS.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/common/rfb/CSecurityTLS.h b/common/rfb/CSecurityTLS.h
index 2464cb6c..51b7dac1 100644
--- a/common/rfb/CSecurityTLS.h
+++ b/common/rfb/CSecurityTLS.h
@@ -2,6 +2,7 @@
* Copyright (C) 2004 Red Hat Inc.
* Copyright (C) 2005 Martin Koegler
* Copyright (C) 2010 TigerVNC Team
+ * Copyright 2012-2025 Pierre Ossman for Cendio AB
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,8 +35,7 @@
namespace rdr {
class InStream;
class OutStream;
- class TLSInStream;
- class TLSOutStream;
+ class TLSSocket;
}
namespace rfb {
@@ -47,8 +47,8 @@ namespace rfb {
int getType() const override { return anon ? secTypeTLSNone : secTypeX509None; }
bool isSecure() const override { return !anon; }
- static StringParameter X509CA;
- static StringParameter X509CRL;
+ static core::StringParameter X509CA;
+ static core::StringParameter X509CRL;
protected:
void shutdown();
@@ -63,8 +63,7 @@ namespace rfb {
gnutls_certificate_credentials_t cert_cred;
bool anon;
- rdr::TLSInStream* tlsis;
- rdr::TLSOutStream* tlsos;
+ rdr::TLSSocket* tlssock;
rdr::InStream* rawis;
rdr::OutStream* rawos;