NetworkManager r4188 - in trunk/vpn-daemons/openvpn: . properties



Author: dcbw
Date: Fri Oct 17 11:06:37 2008
New Revision: 4188
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4188&view=rev

Log:
2008-10-17  Dan Williams  <dcbw redhat com>

	* properties/auth-helpers.c
		- (tls_default_filter, tls_file_chooser_filter_new): accept ".cer"
			extension too



Modified:
   trunk/vpn-daemons/openvpn/ChangeLog
   trunk/vpn-daemons/openvpn/properties/auth-helpers.c

Modified: trunk/vpn-daemons/openvpn/properties/auth-helpers.c
==============================================================================
--- trunk/vpn-daemons/openvpn/properties/auth-helpers.c	(original)
+++ trunk/vpn-daemons/openvpn/properties/auth-helpers.c	Fri Oct 17 11:06:37 2008
@@ -611,7 +611,7 @@
 	ext = g_ascii_strdown (p, -1);
 	if (!ext)
 		return FALSE;
-	if (strcmp (ext, ".pem") && strcmp (ext, ".crt") && strcmp (ext, ".key")) {
+	if (strcmp (ext, ".pem") && strcmp (ext, ".crt") && strcmp (ext, ".key") && strcmp (ext, ".cer")) {
 		g_free (ext);
 		return FALSE;
 	}
@@ -657,7 +657,7 @@
 
 	filter = gtk_file_filter_new ();
 	gtk_file_filter_add_custom (filter, GTK_FILE_FILTER_FILENAME, tls_default_filter, NULL, NULL);
-	gtk_file_filter_set_name (filter, _("PEM certificates (*.pem, *.crt, *.key)"));
+	gtk_file_filter_set_name (filter, _("PEM certificates (*.pem, *.crt, *.key, *.cer)"));
 	return filter;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]