From 7899ecc6b3f0961bdc362104e8cc6eb7a2aa99b8 Mon Sep 17 00:00:00 2001 From: Tim Niemueller Date: Mon, 5 Dec 2005 22:34:18 +0000 Subject: [PATCH] + Password is also needed for new X.509 + User/Pass connection type Tim git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1123 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- vpn-daemons/openvpn/auth-dialog/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vpn-daemons/openvpn/auth-dialog/main.c b/vpn-daemons/openvpn/auth-dialog/main.c index 3370e26cfa..d096f9fab4 100644 --- a/vpn-daemons/openvpn/auth-dialog/main.c +++ b/vpn-daemons/openvpn/auth-dialog/main.c @@ -262,7 +262,8 @@ main (int argc, char *argv[]) i = g_slist_next (i); if (i != NULL) { const char *string2 = gconf_value_get_string ((GConfValue *)i->data); - if ( strcmp (string2, "password") == 0 ) { + if ( (strcmp (string2, "password") == 0) || + (strcmp (string2, "x509userpass") == 0) ) { needs_password = TRUE; } }