ports/audio/mumble-server/files/patch-initialize-SSL
Vladimir Druzenko 77aa89de86 audio/mumble-server: bootstrap from audio/murmur
Copy audio/murmur unchanged except for the rename rc.d script from
murmur.in to mumble_server.in.

This aids diffing to the previous version.

PR:			261395
Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D41048
2024-01-22 21:57:05 +03:00

34 lines
1.3 KiB
Text

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.orig 2019-08-30 01:01:56 UTC
+++ src/mumble/main.cpp
@@ -132,6 +132,9 @@ int main(int argc, char **argv) {
os_init();
+ SSL_library_init();
+ SSL_load_error_strings();
+
bool bAllowMultiple = false;
bool suppressIdentity = false;
bool customJackClientName = false;
--- src/murmur/main.cpp.orig 2019-08-30 01:01:56 UTC
+++ src/murmur/main.cpp
@@ -205,6 +205,9 @@ int main(int argc, char **argv) {
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
#endif
+ SSL_library_init();
+ SSL_load_error_strings();
+
#ifdef Q_OS_WIN
// By default, windbus expects the path to dbus-daemon to be in PATH, and the path
// should contain bin\\, and the path to the config is hardcoded as ..\etc