aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityTLS.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SSecurityTLS.h')
-rw-r--r--common/rfb/SSecurityTLS.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/rfb/SSecurityTLS.h b/common/rfb/SSecurityTLS.h
index d0f735fe..c29ee474 100644
--- a/common/rfb/SSecurityTLS.h
+++ b/common/rfb/SSecurityTLS.h
@@ -45,16 +45,16 @@ namespace rfb {
public:
SSecurityTLS(SConnection* sc, bool _anon);
virtual ~SSecurityTLS();
- virtual bool processMsg();
- virtual const char* getUserName() const {return 0;}
- virtual int getType() const { return anon ? secTypeTLSNone : secTypeX509None;}
+ bool processMsg() override;
+ const char* getUserName() const override {return nullptr;}
+ int getType() const override { return anon ? secTypeTLSNone : secTypeX509None;}
static StringParameter X509_CertFile;
static StringParameter X509_KeyFile;
protected:
void shutdown();
- void setParams(gnutls_session_t session);
+ void setParams();
private:
gnutls_session_t session;