commit | 44cdb1352a8f246f1898cf458dba6f75c3ba4d37 | [log] [tgz] |
---|---|---|
author | Adam Tkac <atkac@redhat.com> | Wed Feb 09 14:09:10 2011 +0000 |
committer | Adam Tkac <atkac@redhat.com> | Wed Feb 09 14:09:10 2011 +0000 |
tree | 5cb9fd530a9f8ef61b89c5fae174efa2437e0d9d | |
parent | 61b630a98cb1a21448f0db17dea3f02dcd669ad2 [diff] [blame] |
[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
diff --git a/common/rfb/CSecurityTLS.h b/common/rfb/CSecurityTLS.h index bd6297d..c19307e 100644 --- a/common/rfb/CSecurityTLS.h +++ b/common/rfb/CSecurityTLS.h
@@ -55,7 +55,7 @@ static UserMsgBox *msg; protected: - void shutdown(); + void shutdown(bool needbye); void freeResources(); void setParam(); void checkSession();