From 2fc50ff5c237478749577a3446c536b11d055af3 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Thu, 1 Mar 2018 00:00:14 +0100 Subject: Tabify... --- libsylph/account.c | 2 +- libsylph/prefs_account.c | 2 +- libsylph/prefs_account.h | 2 +- libsylph/prefs_common.c | 2 +- libsylph/ssl.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libsylph') diff --git a/libsylph/account.c b/libsylph/account.c index de0d6f0..775e2f4 100644 --- a/libsylph/account.c +++ b/libsylph/account.c @@ -84,7 +84,7 @@ void account_read_config_all(void) ac_prefs = prefs_account_new(); prefs_account_read_config(ac_prefs, (gchar *)cur->data); #if USE_SSL - ac_prefs->master_password = master_password; + ac_prefs->master_password = master_password; #endif account_list = g_list_append(account_list, ac_prefs); if (ac_prefs->is_default) diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c index a16ba3d..07605fb 100644 --- a/libsylph/prefs_account.c +++ b/libsylph/prefs_account.c @@ -218,7 +218,7 @@ void prefs_account_read_config(PrefsAccount *ac_prefs, const gchar *label) g_free(rcpath); *ac_prefs = tmp_ac_prefs; - ac_prefs->master_password = NULL; + ac_prefs->master_password = NULL; while (*p && !g_ascii_isdigit(*p)) p++; id = atoi(p); if (id < 0) g_warning("wrong account id: %d\n", id); diff --git a/libsylph/prefs_account.h b/libsylph/prefs_account.h index 5239034..68badd8 100644 --- a/libsylph/prefs_account.h +++ b/libsylph/prefs_account.h @@ -188,7 +188,7 @@ struct _PrefsAccount gchar *sig_names[10]; gchar *sig_texts[10]; - gchar *master_password; + gchar *master_password; }; PrefsAccount *prefs_account_new (void); diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 68f72fa..1f1d3e2 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -415,7 +415,7 @@ static PrefParam param[] = { #ifdef G_OS_WIN32 {"show_gpg_warning", "FALSE", &prefs_common.gpg_warning, P_BOOL}, #else - {"show_gpg_warning", "TRUE", &prefs_common.gpg_warning, P_BOOL}, + {"show_gpg_warning", "TRUE", &prefs_common.gpg_warning, P_BOOL}, #endif /* Master password */ diff --git a/libsylph/ssl.c b/libsylph/ssl.c index 5a76b8b..82b77b4 100644 --- a/libsylph/ssl.c +++ b/libsylph/ssl.c @@ -534,7 +534,7 @@ gint encrypt_data(gchar **encrypted, EVP_DigestFinal_ex(mdctx, hash_buffer, NULL); length_cleartext = length_hash + length_data_payload; - + cleartext_buffer = OPENSSL_malloc(length_cleartext); OPENSSL_cleanse(cleartext_buffer, length_cleartext); -- cgit v1.3