aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityStack.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-09-01 11:14:35 +0200
committerPierre Ossman <ossman@cendio.se>2017-09-01 11:14:35 +0200
commitdaf3d88aa1b554c5d6d41116c51517d30cb7c4b7 (patch)
treec8c8ca00aa1a07fe00d05f88ea96ebe1498eff1c /common/rfb/CSecurityStack.h
parent10a48102a4a892daee8ea325f008fccf9663b236 (diff)
downloadtigervnc-daf3d88aa1b554c5d6d41116c51517d30cb7c4b7.tar.gz
tigervnc-daf3d88aa1b554c5d6d41116c51517d30cb7c4b7.zip
Display security state when asking for password
Indicate to the user how secure the transport channel is so they can avoid entering their password for untrusted sites.
Diffstat (limited to 'common/rfb/CSecurityStack.h')
-rw-r--r--common/rfb/CSecurityStack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/CSecurityStack.h b/common/rfb/CSecurityStack.h
index a76b3fe3..a16003f0 100644
--- a/common/rfb/CSecurityStack.h
+++ b/common/rfb/CSecurityStack.h
@@ -32,6 +32,7 @@ namespace rfb {
virtual bool processMsg(CConnection* cc);
virtual int getType() const {return type;};
virtual const char* description() const {return name;}
+ virtual bool isSecure() const;
protected:
int state;
CSecurity* state0;