diff options
author | Adam Tkac <atkac@redhat.com> | 2011-02-09 14:09:10 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2011-02-09 14:09:10 +0000 |
commit | 44cdb1352a8f246f1898cf458dba6f75c3ba4d37 (patch) | |
tree | 5cb9fd530a9f8ef61b89c5fae174efa2437e0d9d /common/rfb/CSecurityTLS.h | |
parent | 61b630a98cb1a21448f0db17dea3f02dcd669ad2 (diff) | |
download | tigervnc-44cdb1352a8f246f1898cf458dba6f75c3ba4d37.tar.gz tigervnc-44cdb1352a8f246f1898cf458dba6f75c3ba4d37.zip |
[Bugfix] Call gnutls_bye only when handshake is completed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4275 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/CSecurityTLS.h')
-rw-r--r-- | common/rfb/CSecurityTLS.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/CSecurityTLS.h b/common/rfb/CSecurityTLS.h index bd6297d7..c19307e7 100644 --- a/common/rfb/CSecurityTLS.h +++ b/common/rfb/CSecurityTLS.h @@ -55,7 +55,7 @@ namespace rfb { static UserMsgBox *msg; protected: - void shutdown(); + void shutdown(bool needbye); void freeResources(); void setParam(); void checkSession(); |