[network-manager-libreswan/th/vpn-plugin-debug-bgo766872: 10/22] service: don't print PSK to stdout for logging
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-libreswan/th/vpn-plugin-debug-bgo766872: 10/22] service: don't print PSK to stdout for logging
- Date: Tue, 7 Jun 2016 14:12:24 +0000 (UTC)
commit c9cd197640b89e0ee23b97f9836b9ab3dbab3128
Author: Thomas Haller <thaller redhat com>
Date: Thu May 26 12:51:59 2016 +0200
service: don't print PSK to stdout for logging
src/nm-libreswan-service.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nm-libreswan-service.c b/src/nm-libreswan-service.c
index 742f9a7..7356657 100644
--- a/src/nm-libreswan-service.c
+++ b/src/nm-libreswan-service.c
@@ -704,11 +704,11 @@ nm_libreswan_config_psk_write (NMSettingVpn *s_vpn,
leftid = nm_setting_vpn_get_data_item (s_vpn, NM_LIBRESWAN_LEFTID);
if (leftid) {
- success = write_config_option (fd, _debug_write_option, error, "@%s: PSK \"%s\"", leftid,
psk);
+ success = write_config_option (fd, NULL, error, "@%s: PSK \"%s\"", leftid, psk);
} else {
right = nm_setting_vpn_get_data_item (s_vpn, NM_LIBRESWAN_RIGHT);
g_assert (right);
- success = write_config_option (fd, _debug_write_option, error, "%s %%any: PSK \"%s\"", right,
psk);
+ success = write_config_option (fd, NULL, error, "%s %%any: PSK \"%s\"", right, psk);
}
if (!success) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]