/pidgin/main: 6f5e35bda0c9: I guess there are NSS versions that ...

Daniel Atallah <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 6f5e35bda0c9f28537b4fc9c4075936acad92055
Author:	 Daniel Atallah <[email protected]>
Date:	 2014-11-07 12:16 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/6f5e35bda0c9

Description:

I guess there are NSS versions that support the SSL_VersionRange stuff, but not TLS 1.2 - I thought they came in at the same time.

diffstat:

 libpurple/plugins/ssl/nss-prefs.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/libpurple/plugins/ssl/nss-prefs.c b/libpurple/plugins/ssl/nss-prefs.c
--- a/libpurple/plugins/ssl/nss-prefs.c
+++ b/libpurple/plugins/ssl/nss-prefs.c
@@ -337,9 +337,11 @@ get_plugin_pref_frame(PurplePlugin *plug
 				case SSL_LIBRARY_VERSION_TLS_1_1:
 					ver = g_strdup(_("TLS 1.1"));
 					break;
+#ifdef SSL_LIBRARY_VERSION_TLS_1_2
 				case SSL_LIBRARY_VERSION_TLS_1_2:
 					ver = g_strdup(_("TLS 1.2"));
 					break;
+#endif
 #ifdef SSL_LIBRARY_VERSION_TLS_1_3
 				case SSL_LIBRARY_VERSION_TLS_1_3:
 					ver = g_strdup(_("TLS 1.3"));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.