[network-manager-libreswan/th/vpn-plugin-debug-bgo766872: 10/20] 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/20] service: don't print PSK to stdout for logging
- Date: Wed, 15 Jun 2016 10:22:58 +0000 (UTC)
commit c83656a065ff23b185c7e9b85d948637c9aec98e
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]