forked from pool/pidgin
Accepting request 595941 from network:pidgin
OBS-URL: https://build.opensuse.org/request/show/595941 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=127
This commit is contained in:
commit
d6a1723aab
13
pidgin-enable-sni-gnutls.patch
Normal file
13
pidgin-enable-sni-gnutls.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- 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) (bsc#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 bsc#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