SHA256
1
0
forked from pool/pidgin
pidgin/pidgin-ssl-cache.patch
Ludwig Nussel dbe8e57c2c Accepting request 243970 from GNOME:Apps
- Add pidgin-ssl-cache.patch: Disable caching the SSL Session keys,
  as some (broken) IRC servers are not willing to re-use them upon
  a disconnect.

OBS-URL: https://build.opensuse.org/request/show/243970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=104
2014-08-11 10:30:20 +00:00

19 lines
769 B
Diff

#
# old_revision [075c2902b90abb6349a6b689e26fa0ecf720ca04]
#
# patch "libpurple/plugins/ssl/ssl-nss.c"
# from [124c474174cbde7da43e375e4ffa1f47950ab95b]
# to [600583b354d9a94ed7aafa37460174404a9903aa]
#
============================================================
--- libpurple/plugins/ssl/ssl-nss.c 124c474174cbde7da43e375e4ffa1f47950ab95b
+++ libpurple/plugins/ssl/ssl-nss.c 600583b354d9a94ed7aafa37460174404a9903aa
@@ -428,6 +428,7 @@ ssl_nss_connect(PurpleSslConnection *gsc
SSL_OptionSet(nss_data->in, SSL_SECURITY, PR_TRUE);
SSL_OptionSet(nss_data->in, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE);
+ SSL_OptionSet(nss_data->in, SSL_NO_CACHE, PR_TRUE);
/* If we have our internal verifier set up, use it. Otherwise,
* use default. */