summaryrefslogtreecommitdiff
path: root/media-sound/murmur/files
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-07-24 18:31:14 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-07-24 18:31:14 +0300
commitaa5606ccab54c2022543a1a8d0861b1fbbee9b63 (patch)
treedbae9a655eaa0f0a66ee2e328c7c41f2f0178471 /media-sound/murmur/files
parent14800f275d46d0a03095af737de0e8d4821d6f6c (diff)
murmur: force tls1.2, ebuild cleanup
Diffstat (limited to 'media-sound/murmur/files')
-rw-r--r--media-sound/murmur/files/force_tls12.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/murmur/files/force_tls12.patch b/media-sound/murmur/files/force_tls12.patch
new file mode 100644
index 0000000..9180061
--- /dev/null
+++ b/media-sound/murmur/files/force_tls12.patch
@@ -0,0 +1,13 @@
+diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp
+index 8a1856fb..17fa1ec9 100644
+--- a/src/murmur/Server.cpp
++++ b/src/murmur/Server.cpp
+@@ -1251,7 +1251,7 @@ void Server::newClient() {
+ u->setToS();
+
+ #if QT_VERSION >= 0x050500
+- sock->setProtocol(QSsl::TlsV1_0OrLater);
++ sock->setProtocol(QSsl::TlsV1_2OrLater);
+ #elif QT_VERSION >= 0x050400
+ // In Qt 5.4, QSsl::SecureProtocols is equivalent
+ // to "TLSv1.0 or later", which we require.