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

Daniel Atallah datallah at pidgin.im
Fri Nov 7 14:27:50 EST 2014


Changeset: 6f5e35bda0c9f28537b4fc9c4075936acad92055
Author:	 Daniel Atallah <datallah at pidgin.im>
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"));



More information about the Commits mailing list