summaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityTLS.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused includePierre Ossman2018-10-261-1/+0
| | | | | We should not be including server headers from client code. It was not even needed, so simply remove it.
* Restore original streams when terminating TLSPierre Ossman2018-09-211-0/+3
| | | | | | 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.
* Delete TLS streams before deleting the sessionPierre Ossman2018-09-211-2/+3
| | | | | | The streams depend on the session and can crash the program if they are removed in the wrong order. Do a general cleanup of the life time management of the streams.
* Strongly bind security objects to connection objectPierre Ossman2018-09-211-2/+2
| | | | | There is already an implicit connection between them, so let's make it explicit. This allows easy lookup outside of the processMsg() function.
* Display security state when asking for passwordPierre Ossman2017-09-011-0/+1
| | | | | Indicate to the user how secure the transport channel is so they can avoid entering their password for untrusted sites.
* Proper global init/deinit of GnuTLSPierre Ossman2016-08-231-2/+0
| | | | | | These are reference counted so it is important to retain symmetry between the calls. Failure to do so will result in bad memory access and crashes.
* Raise GnuTLS requirements to 3.xPierre Ossman2015-01-291-3/+3
| | | | | | This allows us to simplify things by getting rid of some old compatibility code. People should really be using current versions of GnuTLS anyway to stay secure.
* Correct naming convention for some parametersPierre Ossman2014-09-171-2/+2
|
* [Bugfix] Call gnutls_bye only when handshake is completed.Adam Tkac2011-02-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4275 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] client: Add dialog window to accept/save invalid X509Adam Tkac2010-11-181-0/+4
| | | | | | | certificates. (Guillaume Destuynder) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4198 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Ensure all files use LF as newline control character, not CR+LF.Adam Tkac2010-08-111-74/+74
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4119 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename CSecurityTLSBase class to CSecurityTLS.Adam Tkac2010-07-211-0/+74
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4110 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Merge CSecurityTLS and CSecurityX509 classes into ↵Adam Tkac2010-07-211-53/+0
| | | | | | CSecurityTLSBase class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4109 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Add "#error" directives to client-side TLS sources to avoid wrong ↵Adam Tkac2010-07-211-3/+3
| | | | | | usage. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement VeNCrypt type support on client side. Currently onlyAdam Tkac2010-04-231-0/+53
TLSNone and TLSVnc VeNCrypt subtypes are implemented. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4046 3789f03b-4d11-0410-bbf8-ca57d06f2519