summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2014-11-07 12:16:35 -0500
committerDaniel Atallah <datallah@pidgin.im>2014-11-07 12:16:35 -0500
commitd70964dec83c36510b0330d131013516f632a31b (patch)
tree0b8d6f12898c0cdbac67245fd37c8b650fe59b5b
parentc2af159ada4b1bd8a948afb3d5bcd3c74b2bce4b (diff)
downloadpidgin-d70964dec83c36510b0330d131013516f632a31b.tar.gz
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.
-rw-r--r--libpurple/plugins/ssl/nss-prefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpurple/plugins/ssl/nss-prefs.c b/libpurple/plugins/ssl/nss-prefs.c
index 55ca1a6132..06ff807b84 100644
--- a/libpurple/plugins/ssl/nss-prefs.c
+++ b/libpurple/plugins/ssl/nss-prefs.c
@@ -337,9 +337,11 @@ get_plugin_pref_frame(PurplePlugin *plugin) {
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"));