talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 961f13a4790bdfb2df17050557f2096b5621b9eb
parent f305fe4f90d82c90608e4d9d4292b34c37bbb983
Author: paul <paul@claws-mail.org>
Date:   Wed, 25 Aug 2021 09:25:12 +0100

complete s/master/primary/

Diffstat:
Msrc/password.h | 32++++++++++++++++----------------
Msrc/password_gtk.h | 2+-
2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/password.h b/src/password.h @@ -23,27 +23,27 @@ #include <glib.h> #ifndef PASSWORD_CRYPTO_OLD -/* Returns a pointer to master passphrase, asking the user +/* Returns a pointer to primary passphrase, asking the user * if necessary. Do not free the return value. */ -const gchar *master_passphrase(); +const gchar *primary_passphrase(); -/* Returns TRUE if there is a master passphrase set in preferences. */ -gboolean master_passphrase_is_set(); -/* Returns TRUE if input contains correct master passphrase, as set +/* Returns TRUE if there is a primary passphrase set in preferences. */ +gboolean primary_passphrase_is_set(); +/* Returns TRUE if input contains correct primary passphrase, as set * in preferences. */ -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 +gboolean primary_passphrase_is_correct(const gchar *input); +/* Returns TRUE if primary passphrase is entered (unlocked). */ +gboolean primary_passphrase_is_entered(); +/* Removes (locks) primary passphrase, if it was entered previously * in current session. */ -void master_passphrase_forget(); +void primary_passphrase_forget(); -/* Changes master passphrase. Also triggers reencryption of all stored - * passwords using the new master passphrase. - * oldp - old master passphrase; if NULL, it will be retrieved using - * master_passphrase() - * newp - new master passphrase */ -void master_passphrase_change(const gchar *oldp, const gchar *newp); +/* Changes primary passphrase. Also triggers reencryption of all stored + * passwords using the new primary passphrase. + * oldp - old primary passphrase; if NULL, it will be retrieved using + * primary_passphrase() + * newp - new primary passphrase */ +void primary_passphrase_change(const gchar *oldp, const gchar *newp); #endif /* Wrapper around the old, DES-CBC-broken implementation which diff --git a/src/password_gtk.h b/src/password_gtk.h @@ -21,7 +21,7 @@ #define __PASSWORD_GTK_H #ifndef PASSWORD_CRYPTO_OLD -void master_passphrase_change_dialog(); +void primary_passphrase_change_dialog(); #endif #endif /* __PASSWORD_GTK_H */