[network-manager-openconnect] Remove *-flags from secrets output. That isn't how it works.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openconnect] Remove *-flags from secrets output. That isn't how it works.
- Date: Mon, 18 Apr 2011 00:28:56 +0000 (UTC)
commit 1373b8c040c7db96908972f73930557b5148430e
Author: David Woodhouse <David Woodhouse intel com>
Date: Mon Apr 18 01:11:50 2011 +0100
Remove *-flags from secrets output. That isn't how it works.
auth-dialog/main.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index fe2df9a..8e65633 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -1082,22 +1082,14 @@ static gboolean cookie_obtained(auth_ui_data *ui_data)
int keylen = strlen (key);
if (keylen > 6 && strcmp (key + keylen - 6, "-flags")) {
printf("%s\n%s\n", key, value);
- printf("%s-flags\n%d\n", key,
- NM_SETTING_SECRET_FLAG_NONE);
}
}
printf("%s\n%s:%d\n", NM_OPENCONNECT_KEY_GATEWAY,
openconnect_get_hostname(ui_data->vpninfo),
openconnect_get_port(ui_data->vpninfo));
- printf("%s-flags\n%d\n", NM_OPENCONNECT_KEY_GATEWAY,
- NM_SETTING_SECRET_FLAG_AGENT_OWNED);
printf("%s\n%s\n", NM_OPENCONNECT_KEY_COOKIE,
openconnect_get_cookie(ui_data->vpninfo));
- printf("%s-flags\n%d\n", NM_OPENCONNECT_KEY_COOKIE,
- NM_SETTING_SECRET_FLAG_AGENT_OWNED);
print_peer_cert(ui_data->vpninfo);
- printf("%s-flags\n%d\n", NM_OPENCONNECT_KEY_GWCERT,
- NM_SETTING_SECRET_FLAG_AGENT_OWNED);
openconnect_clear_cookie(ui_data->vpninfo);
printf("\n\n");
fflush(stdout);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]