[Commits] [SCM] claws branch, master, updated. 3.15.0-143-g74f063f
ticho at claws-mail.org
ticho at claws-mail.org
Thu Oct 5 13:18:38 CEST 2017
The branch, master has been updated
via 74f063f12ab0f6a787be3aa0f3296e48d1f2e0a6 (commit)
from 3bce04815148589855c401da99bcabe6d2ead575 (commit)
Summary of changes:
src/password.c | 4 ++--
src/password.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 74f063f12ab0f6a787be3aa0f3296e48d1f2e0a6
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Oct 5 13:17:49 2017 +0200
master_passphrase_is_set() and _is_correct() do not return const bool.
diff --git a/src/password.c b/src/password.c
index 6ff90e0..f19560f 100644
--- a/src/password.c
+++ b/src/password.c
@@ -145,7 +145,7 @@ static const gchar *master_passphrase()
return _master_passphrase;
}
-const gboolean master_passphrase_is_set()
+gboolean master_passphrase_is_set()
{
if (prefs_common_get_prefs()->master_passphrase == NULL
|| strlen(prefs_common_get_prefs()->master_passphrase) == 0)
@@ -154,7 +154,7 @@ const gboolean master_passphrase_is_set()
return TRUE;
}
-const gboolean master_passphrase_is_correct(const gchar *input)
+gboolean master_passphrase_is_correct(const gchar *input)
{
guchar *kd, *input_kd;
gchar **tokens;
diff --git a/src/password.h b/src/password.h
index fcaaf4c..7890d74 100644
--- a/src/password.h
+++ b/src/password.h
@@ -28,10 +28,10 @@
#ifndef PASSWORD_CRYPTO_OLD
/* Returns TRUE if there is a master passphrase set in preferences. */
-const gboolean master_passphrase_is_set();
+gboolean master_passphrase_is_set();
/* Returns TRUE if input contains correct master passphrase, as set
* in preferences. */
-const gboolean master_passphrase_is_correct(const gchar *input);
+gboolean master_passphrase_is_correct(const gchar *input);
/* Returns TRUE if master passphrase is entered (unlocked). */
gboolean master_passphrase_is_entered();
/* Removes (locks) master passphrase, if it was entered previously
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list