Accepting request 595913 from home:zhangxiaofei:branches:network:pidgin
- Add pidgin-enable-sni-gnutls.patch: Enable SNI for gnutls to avoid SSL handshake failure, patch written by Tiago Herrmann (therrmann@suse.com) (boo#1086349 pidgin.im#17300). OBS-URL: https://build.opensuse.org/request/show/595913 OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin?expand=0&rev=25
This commit is contained in:
parent
d9141ed0f0
commit
0ee449f7a5
15
pidgin-enable-sni-gnutls.patch
Normal file
15
pidgin-enable-sni-gnutls.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/libpurple/plugins/ssl/ssl-gnutls.c b/libpurple/plugins/ssl/ssl-gnutls.c
|
||||
index 75e862d..d58d6e0 100644
|
||||
--- a/libpurple/plugins/ssl/ssl-gnutls.c
|
||||
+++ b/libpurple/plugins/ssl/ssl-gnutls.c
|
||||
@@ -403,6 +403,10 @@ ssl_gnutls_connect(PurpleSslConnection *gsc)
|
||||
|
||||
gnutls_transport_set_ptr(gnutls_data->session, GINT_TO_POINTER(gsc->fd));
|
||||
|
||||
+ if (gsc->host) {
|
||||
+ gnutls_server_name_set (gnutls_data->session, GNUTLS_NAME_DNS, gsc->host, strlen(gsc->host));
|
||||
+ }
|
||||
+
|
||||
gnutls_data->handshake_handler = purple_input_add(gsc->fd,
|
||||
PURPLE_INPUT_READ, ssl_gnutls_handshake_cb, gsc);
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 07:43:51 UTC 2018 - fezhang@suse.com
|
||||
|
||||
- Add pidgin-enable-sni-gnutls.patch: Enable SNI for gnutls to
|
||||
avoid SSL handshake failure, patch written by Tiago Herrmann
|
||||
(therrmann@suse.com) (boo#1086349 pidgin.im#17300).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 16:19:49 UTC 2018 - sor.alexei@meowr.ru
|
||||
|
||||
|
@ -38,6 +38,8 @@ Patch2: pidgin-fix-perl-build.patch
|
||||
Patch3: pidgin-ncurses-6.0-accessors.patch
|
||||
# PATCH-FIX-SLE pidgin-use-default-alsa.patch bsc#886670 tiwai@suse.de -- Use ALSA as a default for avoiding broken volume control.
|
||||
Patch4: pidgin-use-default-alsa.patch
|
||||
# PATCH-FIX-UPSTREAM pidgin-enable-sni-gnutls.patch boo#1086349 pidgin.im#17300 fezhang@suse.com -- Enable SNI extension in GnuTLS connections.
|
||||
Patch5: pidgin-enable-sni-gnutls.patch
|
||||
BuildRequires: ca-certificates-mozilla
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
@ -234,6 +236,7 @@ translation-update-upstream
|
||||
%if 0%{?sle_version} >= 120000 && !0%{?is_opensuse}
|
||||
%patch4 -p1
|
||||
%endif
|
||||
%patch5 -p1
|
||||
|
||||
cp -f %{SOURCE3} %{name}-prefs.xml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user