diff options
author | David Jaša <djasa@redhat.com> | 2013-11-27 17:45:49 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-12-12 10:39:11 +0100 |
commit | 4fc9ba5f27dd4c04441d38c893ee962da01baf80 (patch) | |
tree | 170764dfbee19bc0181a28745696a0748045e1a0 /client/x11/playback.cpp | |
parent | f4f033a09c3b9efed0989d93794b9d442f3cce22 (diff) | |
download | spice-4fc9ba5f27dd4c04441d38c893ee962da01baf80.tar.gz spice-4fc9ba5f27dd4c04441d38c893ee962da01baf80.tar.xz spice-4fc9ba5f27dd4c04441d38c893ee962da01baf80.zip |
Use TLS version 1.0 or better
When creating a TLS socket, both spice-server and spice-gtk currently
call SSL_CTX_new(TLSv1_method()). The TLSv1_method() function set the
protocol version to TLS 1.0 exclusively. The correct way to support
multiple protocol versions is to call SSLv23_method() in spite of its
scary name. This method will enable all SSL/TLS protocol versions. The
protocol suite may be further narrowed down by setting respective
SSL_OP_NO_<version_code> options of SSL context. This possibility is
used in this patch in order to block use of SSLv3 that is enabled by
default in openssl for client sockets as of now but spice has never used
it.
Diffstat (limited to 'client/x11/playback.cpp')
0 files changed, 0 insertions, 0 deletions