summaryrefslogtreecommitdiffstats
path: root/audio/murmur/files/patch-initialize-SSL
blob: 5513176cc423422056d489853967ba53c9c3a16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: the SSL library must be initialized, otherwise mumble and
   mumble-server both fail to find the available ciphers after a rebuild
   with openssl_1.0.2d-3.  The two calls used are based on:
     https://wiki.openssl.org/index.php/SSL/TLS_Client#Initialization
Author: Colomban Wendling <lists.ban@herbesfolles.org>
        Christohper Knadle <Chris.Knadle@coredump.us>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804363
Bug-Mumble: https://github.com/mumble-voip/mumble/issues/1876
Last-Updated: 2015-11-10

--- src/mumble/main.cpp
+++ src/mumble/main.cpp
@@ -170,6 +170,9 @@
 	os_init();
 #endif
 
+	SSL_library_init();
+	SSL_load_error_strings();
+
 	bool bAllowMultiple = false;
 	QUrl url;
 	if (a.arguments().count() > 1) {
--- src/murmur/main.cpp
+++ src/murmur/main.cpp
@@ -203,6 +203,9 @@
 	qsrand(QDateTime::currentDateTime().toTime_t());
 	qInstallMsgHandler(murmurMessageOutput);
 
+	SSL_library_init();
+	SSL_load_error_strings();
+
 #ifdef Q_OS_WIN
 	Tray tray(NULL, &le);
 #endif
OpenPOWER on IntegriCloud