Merge branch 'fix-spelling' into 'master'

corrected spelling/typo for trees_plugin_pwhash_map()

See merge request liberate/trees!14
This commit is contained in:
proplus 2023-09-18 14:40:44 +00:00
commit 852a17a9ec
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ trees_get_private_key(struct mail_user *user,
/* Get the pwhash value from database and then map it. After this, the
* pwhash_alg should be used with libsodium API. */
pwhash_alg = trees_get_integer_setting(user, "trees_pwhash_algo");
pwhash_alg = trees_pluging_pwhash_map(pwhash_alg);
pwhash_alg = trees_plugin_pwhash_map(pwhash_alg);
if (pwhash_alg == -1) {
i_error("[trees] Unknown pwhash algorithm value: %d.", pwhash_alg);
goto error;

View File

@ -27,7 +27,7 @@
* database field pwhash_algo. We do this because we don't want to rely on
* libsodium ABI for which they happily remove things. */
static inline int
trees_pluging_pwhash_map(int value)
trees_plugin_pwhash_map(int value)
{
switch (value) {
case 0: