From 48cb47f5b04d33a11362c12c225c2e9235677296 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Filipensk=C3=BD?= Date: Fri, 8 Jul 2022 16:50:38 +0200 Subject: [PATCH] s3:passdb: Fix trailing whitespaces in machine_account_secrets.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- source3/passdb/machine_account_secrets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c index c10fda7f0c0..c551c3f344b 100644 --- a/source3/passdb/machine_account_secrets.c +++ b/source3/passdb/machine_account_secrets.c @@ -99,7 +99,7 @@ bool secrets_clear_domain_protection(const char *domain) { bool ret; void *protection = secrets_fetch(protect_ids_keystr(domain), NULL); - + if (protection) { SAFE_FREE(protection); ret = secrets_delete_entry(protect_ids_keystr(domain)); @@ -510,7 +510,7 @@ bool secrets_store_machine_pw_sync(const char *pass, const char *oldpass, const } } else { SIVAL(&sec_channel_bytes, 0, secure_channel_type); - ret = secrets_store(machine_sec_channel_type_keystr(domain), + ret = secrets_store(machine_sec_channel_type_keystr(domain), &sec_channel_bytes, sizeof(sec_channel_bytes)); if (!ret) { TALLOC_FREE(frame); -- 2.47.3