aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityTLS.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-09-21 15:34:47 +0200
committerPierre Ossman <ossman@cendio.se>2018-09-21 15:59:46 +0200
commit06c1199c0a68cfb48fdb19ae337450de64900e8c (patch)
tree1ff085cae1a5bb92e0ab2f3ab77a41189274adb2 /common/rfb/CSecurityTLS.h
parent1b7463478e30c6855ea62db1f5647630f0acd24b (diff)
downloadtigervnc-06c1199c0a68cfb48fdb19ae337450de64900e8c.tar.gz
tigervnc-06c1199c0a68cfb48fdb19ae337450de64900e8c.zip
Restore original streams when terminating TLS
In theory we could return to communicate without TLS after a shutdown. It also makes sure the connection object isn't left completely without streams.
Diffstat (limited to 'common/rfb/CSecurityTLS.h')
-rw-r--r--common/rfb/CSecurityTLS.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/CSecurityTLS.h b/common/rfb/CSecurityTLS.h
index 0d5f8997..4932c078 100644
--- a/common/rfb/CSecurityTLS.h
+++ b/common/rfb/CSecurityTLS.h
@@ -72,6 +72,9 @@ namespace rfb {
rdr::InStream* tlsis;
rdr::OutStream* tlsos;
+
+ rdr::InStream* rawis;
+ rdr::OutStream* rawos;
};
}